xsl-list
[Top] [All Lists]

RE: Incorrect output with IE6

2002-11-04 21:13:18
Added a short version of the xml file as requested.
Adrian

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="test2.xsl"?>
<LandXML version="1.0" date="2001-03-08" time="08:44:45" readOnly="false"
language="English">
  <Project name="5558-Subdivision"/>
    <Parcels>
      <Parcel name="801" area="554.065">
         <Center>33524.27796375 31528.20560466</Center>
         <CoordGeom>
           <Line>
             <Start>33505.95684580 31533.46501647</Start>
             <End>33516.39685788 31545.58962565</End>
           </Line>
           <Line>
             <Start>33516.39685788 31545.58962565</Start>
             <End>33542.33349683 31523.25663165</End>
           </Line>
         </CoordGeom>
      </Parcel>
    </Pracels>
  </Project>
</LandXML>


At 19:46 4-11-2002 -0800, you wrote:
Could you please add your input XML?

Thanks,

Rich

-----Original Message-----
From: Adrian 
[mailto:a(_dot_)hobson(_at_)student(_dot_)unsw(_dot_)edu(_dot_)au] 
Sent: Monday, November 04, 2002 5:59 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com

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




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




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



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