Project

Profile

Help

Bug #1697

closed

Namespaces are stripped in output.

Added by Trent Nelson about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Sprint/Milestone:
Start date:
2013-02-16
Due date:
% Done:

100%

Estimated time:
Platforms:

Description

I can't seem to get Saxon-CE to preserve XML namespaces in my output.

<xsl:template match="/" xmlns:b="uri:foo">
    <b:foo>bar</b:foo>
</xsl:template>

Running the same XML data and stylesheet through the Java Saxon version keeps the namespaces, as expected.

I've tried everything; namespace-aliases, re-declaring xmls:b on all the child elements, but alas, it's always stripped.

I'm trying to use Saxon-CE to generate a combination of HTML and Backbase XML; the latter provides various widgets via separate namespaces (i.e. <b:accordion>). So, I need the output XML to include the Backbase-specific XML prefixes.

Is this a supported feature?

Please register to edit this issue

Also available in: Atom PDF