Hi,
        I am using xalan as an xslt processor.i am facing some problems
while converting the xsl files to the html file.I have added xalan.jar and
xerces.jar in the classpath.
I have attached the xsl and the xml file and the error message
is------------

C:\>java org.apache.xalan.xslt.Process -in test2.xml -xsl test2.xsl
file:///C:/test2.xsl; Line 2; Column 71
Parser error: stylesheet requires attribute: version
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://xml.apache.org/xslt";
version="1.0"><xsl:template match="
PERIODIC_TABLE"><html><xsl:apply-templates/></html></xsl:template><xsl:templ
ate match="ATO
M"><p><xsl:apply-templates/></p></xsl:template></xsl:stylesheet>

Waiting for an early reply,
Supreet

test2.xml

test2.xsl

Reply via email to