[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Comparing nodes in XPath

Subject: Re: [xsl] Comparing nodes in XPath
From: António Mota <amsmota@xxxxxxxxx>
Date: Fri, 21 Jan 2005 20:32:54 +0000

It's working now using the variable. I don't know what i was doing
wrong, but just in case i'm going to try to convince my boss that i
can't work fridays after lunch time.


<xsl:value-of select="document('connections.xml')/connections/connection[@id=./Conn]"/>

is equivalent to 

<xsl:value-of select="document('connections.xml')/connections/connection[@id=Conn]"/>

If it is, how can i reference the current main node when inside a
xpath referencing another document?

Current Thread