I'm having a problem that it's driving me crazy. It must be simple for most of you, but for me it has been a nightmare.
Basically, I need to clean up the namespaces in a XML file for a more friendly reading. I am learning to use XSLT for that, but I am not understanding how to apply the correct XPATH sentence in the XSLT.
A Newbie needs help in XSLT/XPATH
in XSLT/XSL-FO
Posted
Hi guys!
I'm having a problem that it's driving me crazy. It must be simple for most of you, but for me it has been a nightmare.
Basically, I need to clean up the namespaces in a XML file for a more friendly reading. I am learning to use XSLT for that, but I am not understanding how to apply the correct XPATH sentence in the XSLT.
The original XML file looks like that:
I would like to transform it on that:
I am using this XSLT to produce the desired XML file, but It doesn't work:
Probably I am not using the correct XPATH sentence in the XSLT because of the namespaces. Could you help with that?
Thanks,
Euler Almeida