File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes about saxon xslt processor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "about saxon xslt processor" Watch "about saxon xslt processor" New topic
Author

about saxon xslt processor

savita jadhav
Ranch Hand

Joined: Mar 05, 2001
Posts: 62
I ma using for xslt Instant saxon from the cd provided by xml Bible.I am having IE5.0
The problem is when I give a cmmandit gives the error that
xsl namespace is not declared as the top element.
the xslt is as follow
<!--<?xml version="1.0"?>-->
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/xsl/Transform">
<xsl:template match="Periodic-Table">
<html>
<xsl:apply-templates></xsl:apply-templates>
</html>
</xsl:template>
<xsl:template match="Atom">
<p>
<xsl:apply-templates></xsl:apply-templates>
</p>
</xsl:template>
</xsl:transform>
I am new to xslt.I am learning on my own please some body guide
me what to do in this problem
Thanks
Savita
Mapraputa Is
Leverager of our synergies
Sheriff

Joined: Aug 26, 2000
Posts: 10065

For some reason, xsl:stylesheet element is used much more often then xsl:transform. Try this:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">


Uncontrolled vocabularies
"I try my best to make *all* my posts nice, even when I feel upset" -- Philippe Maquet
savita jadhav
Ranch Hand

Joined: Mar 05, 2001
Posts: 62
Hi
thanks for the reply.
But I have tried for xsl:stylesheet also
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
But still its giving the same error.
Thanks
Savita
 
Don't get me started about those stupid light bulbs.
 
subject: about saxon xslt processor
 
Similar Threads
XSLT Transformation error
why is the output not displayed
XSLT Wrong Result Set?
Simple XSL problem: parent attributes
XML/XSL Transformation to HTML problem