[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE:

Subject: RE:
From: "Tim Watts" <timw@xxxxxxx>
Date: Fri, 22 Jun 2001 14:53:06 +1000
xsl fatal error 1000 parse
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.