Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">

Status
Not open for further replies.

dionisox

Technical User
May 3, 2002
10
IT
I have a xls that use <xsl:stylesheet xmlns:xsl=&quot;
How can i test if a node is not a child of another node, if a node has a parent node called xxx.......?
The sintax i usually use give me only error.

Thanks
 
Try to add to your stylesheet the XSLT namespace, something like:
Code:
<xsl:stylesheet xmlns:xsl=&quot;[URL unfurl="true"]http://www.w3.org/TR/WD-xsl&quot;[/URL]
xmlns:xslt=&quot;[URL unfurl="true"]http://www.w3.org/1999/XSL/Transform&quot;>[/URL]
>
then use the usual xslt functions for that.
Or... would that be in the XPath language? However, try this.
I am also interested in this namespace trouble, so I am curious about other replies. [red]Nosferatu[/red]
We are what we eat...
There's no such thing as free meal...
once stated: methane@personal.ro
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top