OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   XSL and Namespace Question

[ Lists Home | Date Index | Thread Index ]
  • From: Michael Wiechers <MichaelW@rga.com>
  • To: xml-dev@xml.org
  • Date: Sun, 9 Apr 2000 19:39:36 -0400

I have a XML document using several namespaces and i have trouble using
XPATH to get the value of the elements/attributs. All the namespace
definitions in the XML document are valid.

1.) xlink attibutes:
--------------------------

	<NavigationElement xlink:href="index.xml" xlink:title="Overview"
xml-href="true"/>

I don't get the href value using <xsl:value-of select="@href"/>.

2.) elements:
-------------------

	<Meta xmlns="meta.dtd">
		<Title>
			title
		</Title>
	</Meta>

	
<xsl:value-of select="Meta/Title"/>, works only if i remove the xmlns
declaration.


Thanks for any help!

Stan Wiechers  
R/GA Interactive
	

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS