Other question when a xmlns attribute is selected with the xpath but the parent isn�t(i.e you just output xmlns:X="") & a child needs to render the same xmlns. It is taken at renderedi.e. <!-- only the attribute is selected --> <A xmlns:d="ddd"> <!-- everything is seleceted --> <b xmlns:d="ddd"> </b> </A>
the output is:
xmlns:d="ddd" <b xmlns:d="ddd"></b>
or:
xmlns:d="ddd" <b></b>
From memory, the latter. The parent element has a xmlns attribute that is in the nodeset (doesn't matter whether or not the element itself is in the nodeset).
Cheers,
Berin
