xsl-list
[Top] [All Lists]

Re: Trouble getting a node froma a document()

2004-07-29 12:54:58
xptm wrote:
select="document(concat('Z:\DicionarioXml\',$MasterTable,'.xml'))
                          ^^^^^
Note: the argument passed to the document() function should be an
URL, not a Windows path name. Just in case.


... /Estrutura/.../Campo[Nome=(_at_)Nome]/Visivel"/>
                      ^^^^^^^^^^^^^^^^
You are selecting Campo elements which have a Nome child element
which has the same value as the Nome atttribute on *the Campo
element*. You probably either want to use current()/@Nome instead
or get the required value into a variable and use it.

J.Pietschmann


<Prev in Thread] Current Thread [Next in Thread>