RE: [xsl] netscape problems with certain XSL

Subject: RE: [xsl] netscape problems with certain XSL
From: "Kimberly Hahn" <Kimberly.Hahn@xxxxxxxxxx>
Date: Mon, 19 Aug 2002 11:33:54 -0500
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


Current Thread