Subject: [xsl] RE: From: "Tim Watts" <timw@xxxxxxx> Date: Fri, 22 Jun 2001 14:53:06 +1000 |
I'm not sure of your problem, but I don't think <xsl:apply-templates select="//value"/> will match with <xsl:template match="value"/> You might want to change that. Tim :) -----Original Message----- From: guru prasad HI everybody 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 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> (XXX) <xsl:template match="value"/> <xsl:value-of select="node()"/> </xsl:template> </xsl:stylesheet> my xml file : <?xml version="1.0" ?> <?xml-stylesheet href="test.xsl" type="text/xsl"?> <test > <value>this value</value> </test> 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[no subject], guru prasad | Thread | Re: [xsl] RE:, Jeni Tennison |
[xsl] Extreme Markup Languages 2001, B. Tommie Usdin | Date | Re: [xsl] RE:, Jeni Tennison |
Month |