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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--