XSLT: how to exclude all result prefixes?

Here should go questions about transforming XML with XSLT and FOP.
acdc11
Posts: 1
Joined: Thu Feb 10, 2011 7:00 pm

XSLT: how to exclude all result prefixes?

Post 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.