XSLT: how to exclude all result prefixes?

Here should go questions about transforming XML with XSLT and FOP.
acdc11
Posts: 1

XSLT: how to exclude all result prefixes?

Thu Feb 10, 2011 7:04 pm

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.

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 0 guests