Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: XSLT namespace selection (how)? >Thread Next - Re: XSLT namespace selection (how)? Re: XSLT namespace selection (how)?To: NULL Date: 6/5/2007 4:44:00 PM Queue wrote: >Thus for any element declared within a >namespace, in the corresponding XSL all elements within that hierarchy >must be prefixed? No. To match a namespaced name at any given point in an XPath, the path must use a prefixed name at that point where the prefix is bound to the correct namespace. So to match > <openSearch:totalResults>1</openSearch:totalResults> directly, you would use: select="opensearch:totalResults" Or, if you needed to specify multiple steps to reach it, you would use something like: select="feed:feed/feed:entry/opensearch:totalResults" -- Joe Kesselman / Beware the fury of a patient man. -- John Dryden | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
