This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

No Subject


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]