aspose file tools
The moose likes XML and Related Technologies and the fly likes Displaying xml data using xsl Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "Displaying xml data using xsl" Watch "Displaying xml data using xsl" New topic
Author

Displaying xml data using xsl

siva kumar r
Greenhorn

Joined: Feb 06, 2001
Posts: 7
When i display the data of xml document giving a link
to an xsl file the xsl file includes a statement like
this:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
when i mistype or wrongly type any letter in the above link
and execute the xml file the IE5.0 browser displays
error. we are not using net conncections for executing
xml. so what is the necessity for using the above link.
Is this link indicates the dtd for the xsl.And is it included in the
browser itself.
Thanks
sivakumar.R
[This message has been edited by siva kumar r (edited February 07, 2001).]
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
The declaration should be like this -
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
ie., xls should come after xmlns.
That should fix it

Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Displaying xml data using xsl
 
Similar Threads
Rendering XML To HTML
XML rendering in JSP
Using XSL to filter XML & Multiple XSLs
Editing XML with XSL ?
displaying image in any browser using xsl