Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

XML+XSL=Blank page??

843834Apr 8 2002 — edited Apr 8 2002
Here is my xml file: c:\text.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="test.xsl"?>
<source>

<title>XSL</title>
<author>John Smith</author>

</source>

AND

Here is my xsl file: test.xsl
<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet version ="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">
<html>
<body>
<h2>
<xsl:value-of select="author"/>
</h2>
<h1>
<xsl:value-of select="title"/>
</h1>
</body>
</html>
</xsl:template>
</xsl:stylesheet>

When I try to view xml file in IE giving c:\text.xml, it does
not display anything. Just blank. What must be wrong???
thanks,
pp
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 6 2002
Added on Apr 8 2002
4 comments
285 views