ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xsl-list
xsl-list
[xsl] Incorrect output with IE6
by Adrian other posts by this author
Nov 5 2002 1:59AM messages near this date
RE: [xsl] JavaScript problem again! | Re: [xsl] complicacy of sorting
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved