Subject: Re: [xsl] Unwanted namespace prefix _0 From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 23 Dec 2013 11:29:54 -0500 |
Hi all,
I'm doing an identity transform with Saxon 9.5.1.2 (HE, PE and EE all do the same) on a TEI file with embedded examples in the Examples namespace:
<TEI xmlns="http://www.tei-c.org/ns/1.0" version="5.0"> [...] <div> <egXML xmlns="http://www.tei-c.org/ns/Examples" valid="true"> For more information, consult the <ref target="mol:linking#linking_graphics"> guide to linking graphic content</ref>.</egXML> </div> [...] </TEI>
In the output, Saxon generates unwanted namespace prefixes, like this:
<_0:egXML xmlns:_0="http://www.tei-c.org/ns/Examples" valid="true"> For more information, consult the <_0:ref target="mol:linking#linking_graphics"> guide to linking graphic content</_0:ref>.</_0:egXML>
This is even though I have exclude-result-prefixes="#all", and it happens whether or not I define a prefix in the root stylesheet element for the Examples namespace.
What am I missing?
How would I get output that looks exactly like the input?
-- Public XSLT, XSL-FO, UBL & code list classes: Melbourne, AU May 2014 | Contact us for world-wide XML consulting and instructor-led training | Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm | Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ | G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx | Google+ profile: https://plus.google.com/116832879756988317389/about | Legal business disclaimers: http://www.CraneSoftwrights.com/legal |
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Unwanted namespace prefix _0, Martin Holmes | Thread | [xsl] Re: Unwanted namespace prefix, Martin Holmes |
[xsl] Unwanted namespace prefix _0, Martin Holmes | Date | [xsl] Re: Unwanted namespace prefix, Martin Holmes |
Month |