Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes XML and Related Technologies and the fly likes Displaying xml data using xsl 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 "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://aspose.com/file-tools
 
subject: Displaying xml data using xsl
 
Similar Threads
Using XSL to filter XML & Multiple XSLs
Editing XML with XSL ?
XML rendering in JSP
Rendering XML To HTML
displaying image in any browser using xsl