[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
On 13-12-23 01:53 PM, Graydon wrote:
Me too -- I get eg: prefixes for all the elements in the example. But that's not ideal; our encoders need to be able to copy-paste blocks of code from their TEI files into <egXML> elements, where they move into the Examples namespace, without having to laboriously prefix all their element names.
Oxygen 15.1; Command-line Saxon is Saxon-HE 9.4.0.4J; Saxon in Oxygen is 9.5.1.2.
[xsl] Re: Unwanted namespace prefix _0
Subject: [xsl] Re: Unwanted namespace prefix _0 From: Martin Holmes <mholmes@xxxxxxx> Date: Mon, 23 Dec 2013 14:08:39 -0800 |
On 13-12-23 01:53 PM, Graydon wrote:
On Mon, Dec 23, 2013 at 01:43:35PM -0800, Martin Holmes scripsit:As I posted above, test files are here:
<http://web.uvic.ca/~lancenrd/test/test.xml> <http://web.uvic.ca/~lancenrd/test/test.xsl>
I get the same result with Saxon _in_Oxygen_ whether I provide a prefix for the Examples namespace in the root stylesheet element or not; and whether or not I exclude it with exclude-result-prefixes. I do _not_ get the prefixes in the output if I run the transformation at the command line with Saxon. So the problem has something to do with the Oxygen context, but I can't figure out what it is.
Note that if I run your stylesheet with oXygen and change the data so the input has a prefix of "eg" for the examples namespace, I don't get that _0 prefix.
Me too -- I get eg: prefixes for all the elements in the example. But that's not ideal; our encoders need to be able to copy-paste blocks of code from their TEI files into <egXML> elements, where they move into the Examples namespace, without having to laboriously prefix all their element names.
What oXygen and saxon versions are you using? might also be a relevant question. (15.1 and PE 9.5.1.2, in my case.)
Oxygen 15.1; Command-line Saxon is Saxon-HE 9.4.0.4J; Saxon in Oxygen is 9.5.1.2.
Cheers, Martin
-- Graydon
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Re: Unwanted namespace pr, Graydon | Thread | Re: [xsl] Unwanted namespace prefix, Radu Pisoi |
Re: [xsl] Re: Unwanted namespace pr, Graydon | Date | Re: [xsl] Unwanted namespace prefix, Radu Pisoi |
Month |