If I have XML like this:
<sample>
<a:element1 xmlns:a="..." />
<b:element2 xmlns:b="..." />
</sample>
it seems that XSL can't find the two child nodes of <sample>
due to the prefixes a:
and b:
.
If I eliminate the two prefixes as well as the namespace declaration, then they are found.
The problem is that I can't do anything about the orginal XML file. So how can I find <element1>
and <element2>
?