[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: implements-prefix vs implements-namespace

Subject: Re: Re: implements-prefix vs implements-namespace
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Tue, 6 Mar 2001 10:45:44 +0000
prefix for far
David Carlisle wrote:
> If the elements and attributes are being written by XSLT you haven't
> full control over th eprefix, but they will get a valid one. If
> there are QNames in attribute or element content then you can copy a
> namespace node to make sure that prefix is in scope.

Do you even have to copy them? I don't know any processor that
randomly changes the prefixes of namespaces defined in the XSLT
stylesheet, and as far as I can tell any namespace that you declare in
the stylesheet will be copied automatically (presumably with the same
mechanic as xsl:copy-of) to the elements that you create in the
output.

The only time you don't get control over the prefix as far as I can
tell is if you create an element with xsl:element and specify a
namespace (with the namespace attribute).  At that point, the
processor is allowed to make up a prefix (but can use the one that you
use in the name attribute [including no prefix, the default namespace]
if it wants).

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.