[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
From: guru prasad <guruprasadv@xxxxxxxxx> Date: Thu, 21 Jun 2001 21:20:14 -0700 (PDT) |
HAI everybody my xml file : <?xml version="1.0" ?> <?xml-stylesheet href="test.xsl" type="text/xsl"?> <test > <value>this value</value> </test> my xsl file is: <?xml version="1.0" ?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/"> simple copy:<xsl:value-of select="//value"/><br/> just copy the text:<xsl:value-of select="//value/text()"/><br/> deep xml copy:<xsl:copy-of select="//value"/><br/> <xsl:apply-templates select="//value"/> </xsl:template> <xsl:template match="value"/> <xsl:value-of select="node()"/> </xsl:template> </xsl:stylesheet> I had installed instant saxon 6.2.2 on my dir instant saxon and when i run the following command, C:\instantsaxon>saxon test.xml test.xsl I GET THE FOLLOWING ERROR Fatal error reported by XML parser: required string (expected "xsl:stylesheet") URL: file:/C:/instantsaxon/test.xsl Line: 16 Column: 3 PLEASE HELP ME OUT IN THIS thanks __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re:Re:Using condition express, Yang | Thread | [xsl] RE:, Tim Watts |
RE: [xsl] Inserting spaces in my FO, Albert Tsun | Date | [xsl] Extreme Markup Languages 2001, B. Tommie Usdin |
Month |