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
RE: [xsl] Incorrect output with IE6
by Adrian other posts by this author
Nov 5 2002 4:13AM messages near this date
RE: [xsl] how do I add a doctype when I create xsl from xsl? | AW: [xsl] expression must evaluate to a nodeset / shortcuts !
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.hobson@[...].au] 
> Sent: Monday, November 04, 2002 5:59 PM
> To: xsl-list@[...].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

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