xsl-list
[Top] [All Lists]

Re: Child nodes with same name

2004-11-05 10:22:50
Hi Jacqui,

Expression = "Deaths"
selectPattern = "ControlledList/Item[BroaderItem='" & expression &"' &&
@Category='true']"
SET oChildren = objXML.selectNodes(selectPattern)

This might work:

selectPattern = "ControlledList/Item[BroaderItem[. = '" & expression & "'] and 
(@Category='true')]"

Though, it still requires that the Item contains BroaderItem elements. Is that 
what you want?

Grtz,
Geert


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