XSLT: how to exclude all result prefixes?
Posted: Thu Feb 10, 2011 7:04 pm
Hello,
I have an xml in this shape:
My XSLT transformation on this XML fails.
If in XML the xmlns would have had a prefix like: xmlns:xyz="..."
then in the XSL I could exclude the prefix: exclude-result-prefixes="xyz"
This do work.
But how can I make my transformation work when xmlns does not have any prefix?
Thank you.
I have an xml in this shape:
Code: Select all
<report ... xmlns="http://www.does-not-exist-url" >
If in XML the xmlns would have had a prefix like: xmlns:xyz="..."
then in the XSL I could exclude the prefix: exclude-result-prefixes="xyz"
This do work.
But how can I make my transformation work when xmlns does not have any prefix?
Thank you.