Page 1 of 1

XSLT: how to exclude all result prefixes?

Posted: Thu Feb 10, 2011 7:04 pm
by acdc11
Hello,

I have an xml in this shape:

Code: Select all


<report ...  xmlns="http://www.does-not-exist-url" >
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.