[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Global namespace prefixes (Corrected Examples)


Subject: Re: [xsl] Global namespace prefixes (Corrected Examples)
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Fri, 14 Nov 2008 18:40:29 -0500

Nathan,

At 05:38 PM 11/14/2008, you wrote:
Oddly, When I run the stylesheet (below), against the data (below) I
get:

<?xml version="1.0" encoding="UTF-8"?>
<output xmlns:dap="http://xml.opendap.org/ns/DAP/3.2#" xmlns:ns0="http://base.document " ns0:ns="http://base.document">
<base:Conventions xmlns:base="http://base.document">CF-1.0</ base:Conventions>
<base:logname xmlns:base="http://base.document">olson</base:logname>
<base:host xmlns:base="http://base.document">bb0001en</base:host>
</output>



It just ignores the prefix when the attribute is added to the output element.

How unpleasant.


The copy of Xalan I tested with is version 2.7.1, but as David has said, Saxon is especially known for being both conformant and well-behaved.

Cheers,
Wendell


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================


Current Thread
Keywords
xml