This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: netscape problems with certain XSL


You can try changing the :
        <div id="tree_top" class="tree" style="position:relative;
left:0; top:0; height=10">
            <img align="center" src="images/treebox3.gif"/>
            <img align="center" src="images/root.gif"/>
            <xsl:choose>
                <xsl:when test="@sysSelected='1'">Network</xsl:when>
                <xsl:otherwise>
                    <a href="javascript:void(0)"
onclick="SelectNetwork(); return false;">Network</a>
                </xsl:otherwise>
            </xsl:choose>
        </div>
        <xsl:apply-templates select="systems"/>

to create the elements and attributes explicitly in xsl -

        <xsl:element name="div">
		<xsl:attribute name="id">tree_top</xsl:attribute>
		<xsl:attribute name="class">tree<xsl:attribute>
		<xsl:attribtue name="style">position:relative; left:0; top:0;
height=10</xsl:attribute>
		<xsl:element name="img">
			<xsl:attribute name="align">center</xsl:attribute>
			<xsl:attribute name="src">images/treebox3.gif</xsl:attribute>
		<xsl:element>
		<xsl:element name="img">
			<xsl:attribute name="align">center</xsl:attribute>
			<xsl:attribute name="src">images/root.gif</xsl:attribute>
		<xsl:element>
            <xsl:choose>
                <xsl:when test="@sysSelected='1'">Network</xsl:when>
                <xsl:otherwise>
			<xsl:element name="a">
                    <xsl:attribute
name="href">javascript:void(0)</xsl:atribute>
			  <xsl:attribute name="onclick">SelectNetwork(); return
false;<xsl:attribute>Network</xsl:element>
                </xsl:otherwise>
            </xsl:choose>
        </xsl:element>
        <xsl:apply-templates select="systems"/>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]