xsl-list
[Top] [All Lists]

Incorrect output with IE6

2002-11-04 18:59:10
Hello

When I process my xml file with saxon I get the output that I expect,
however with IE6 it only seems to output the text nodes (ie. Parcel 1Parcel
2Parcel3 etc).  The relevant part of the xsl file is included below.  Any
suggestions would be appreciated.

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
version="1.0">
<xsl:output method = "xml"
            doctype-public="-//W3C//DTD SVG 20010904//EN"

doctype-system="http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";
            media-type="image/svg+xml" />

<xsl:template match="/">
  <svg width="500px" height="500px" preserveAspectRatio="xMinYMin meet">
    <xsl:attribute name="viewBox">31100 -33800 500 500</xsl:attribute>
    <g transform="scale(1, -1)">
    <xsl:apply-templates select="//Parcels" />
    </g>
  </svg>
</xsl:template>

<xsl:template match="Parcels">
  <xsl:apply-templates select="Parcel"/>
</xsl:template>

<xsl:template match="Parcel">
  <g>
  <desc>Parcel <xsl:value-of select="@name" /></desc>
  <xsl:apply-templates select="CoordGeom"/>
  </g>
</xsl:template>
...


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



<Prev in Thread] Current Thread [Next in Thread>