What does this mean?
<?xml version="1.0" encoding="UTF-8"?>
<ShowQuote xmlns="http://www.openapplications.org/oagis">
<ApplicationArea>
<Sender>
Devin Nance
</Sender>
<CreationDateTime>
June 27, 2003
</CreationDateTime>
</ApplicationArea>
</ShowQuote>
The namespace attribute in the root element is giving me problems in the
XSL. If I take the namespace out, I have no problem getting the
values.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:transform version="1.0" xmlns:xsl="
http://www.w3.org/1999/XSL/Transform">
<xsl:output omit-xml-declaration="yes" method="html" version="3.2"
encoding="utf-8"
media-type="text/html"/>
<xsl:template match="/">
<html>
<head>
<title>Entitled Price
</title>
</head>
<body>
<xsl:value-of select="ShowQuote/ApplicationArea/Sender"/>
</body>
</html>
</xsl:template>
</xsl:transform>
When the namespace in the root element attribute is not there, I get the
sender. When it is there, it does not work. WHY? and How do I fix it?
-----------------------------------------------------
xml-interest: A list for discussing XML technologies in the Java Platform.
To post, mailto:xml-interest@xxxxxxxxxxxx
Archives at: http://archives.java.sun.com/xml-interest.html
To unsubscribe, mailto:listserv@xxxxxxxxxxxx the following message;
signoff xml-interest.
|