Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: search and replace [Thread Next] Re: search and replaceTo: NULL Date: 2/9/2007 1:41:00 PM
One immediate reaction: You wrote
> select="//*[@id=current()/text()]/@name"/>
"Find any element in the document whose id attribute's value equals ONE
OF THE TEXT CHILDREN of the current node, and process its name attribute."
I suspect you meant
"Find any element whose id attribute's value equals THE CONTAINED TEXT
VALUE of the current node, and process its name attribute."
which would be written as
select="//*[@id=current()]/@name"/>
(I haven't looked deeply enough to see whether this is actually what's
causing your problem, but it's an important distinction to learn.)
--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
