[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

xsl/xml

Subject: xsl/xml
From: Simon Choy <Simon.Choy@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 7 May 2002 15:32:50 -0700
 xsl/xml
First of all thank you for all your help last time guys
Staring at the screen too long makes me blind


anyway I have a new question
*sigh*

XML file:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml-stylesheet type="text/xsl" href="database.xsl"?> 
<country xmlns="http://www.w3.org/TR/html4/">
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<member>bob</member>
</country>

XSL file:

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:template match="/">
	<html> 
	<body>
		<xsl:value-of select="country/member" />	
	</body> 
	</html> 	
</xsl:template> 
</xsl:stylesheet>




PROBLEM:
	The line <xsl:value-of select="country/member" /> within the XSL
file does not show anything. I have narrowed it down the the namespace
attribute in the XML file that's causing this problem. If i remove the
Namespace attribute from the <country> element, it prints it out fine

ps. this is a simplified version of what I am working on, and in my version,
the namespace attribute of the root element cannot be removed.


Is there anyway to get around thhis?

TIA

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • xsl/xml
    • Simon Choy - Tue, 7 May 2002 18:27:05 -0400 (EDT) <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.