[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XPath expression to derive list of distinct element na
I need an XPath expression that will return a list of node names it the
tree frag.
I want the names to be distinct. The best I can come up with is: "*[local-name() != local-name(preceding-sibling::*)]" But the local-name function only gives the name of the first node in the nodeset. This is really an XPath question. I'm not doing this in XSL, so I can't use templates or any other non-XPath construct. It needs to be a single XPath expression. Thanks for any help. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|