V
Vijay
I had a following xslt :
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsl="http://www.w3.org/1999/XSL/Format" >
</xsl:stylesheet>
and then I referenced a XSD in xsl:stylesheet element as follows :
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsl="http://www.w3.org/1999/XSL/Format"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/1999/XSL/Format
C:\FOP-SRC\fop-0.20.5\src\foschema\fop.xsd">
</xsl:stylesheet>
When I validated this in XML spy it gives me following error :
"The file is not valid: The element declaration was not found for root
element 'xsl:stylesheet'"
Can anybody see the problem?
Regards
Vijay
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsl="http://www.w3.org/1999/XSL/Format" >
</xsl:stylesheet>
and then I referenced a XSD in xsl:stylesheet element as follows :
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsl="http://www.w3.org/1999/XSL/Format"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/1999/XSL/Format
C:\FOP-SRC\fop-0.20.5\src\foschema\fop.xsd">
</xsl:stylesheet>
When I validated this in XML spy it gives me following error :
"The file is not valid: The element declaration was not found for root
element 'xsl:stylesheet'"
Can anybody see the problem?
Regards
Vijay