Re: templates and iterating attributes from xpath expression
Martin Honnen <[email protected]> Thu, 20 Nov 2008 17:43:57 +0100
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Organization | Liberty Development |
| Message-ID | <[email protected]> |
rvj wrote: > OK seems Ive found a working solution since @* defaults to the first > attribute which is good enough for my needs >> expr="contains(local-name(@*),'gender')"/> @* selects a node-set of all attribute but local-name(@*) returns the name of the first node in that node-set. -- Martin Honnen http://JavaScript.FAQTs.com/