File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Displaying xml data using xsl" Watch "Displaying xml data using xsl" New topic

Displaying xml data using xsl

siva kumar r

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
<xsl:stylesheet xmlns: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.
[This message has been edited by siva kumar r (edited February 07, 2001).]
Ajith Kallambella

Joined: Mar 17, 2000
Posts: 5782
The declaration should be like this -
<xsl:stylesheet xmlns: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:
subject: Displaying xml data using xsl
It's not a secret anymore!