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

RE: exclude result prefixes doesn't stop prefix from s

Subject: RE: exclude result prefixes doesn't stop prefix from showing up.
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 22 Aug 2003 19:01:37 +0100
eugene prefixes
> 
> I simply want to control the prefixing so that its consistent 
> throughout 
> the document. I'm not trying to change the namespace. I'm trying to 
> maintain the same namespace and prefixing across both the source and 
> result documents.

OK, I understand it better now.

In theory, XSLT gives you no control over the prefix used by the
serializer in the result document. In practice, however, processors will
use the "original" prefix if they can. The cases where they have
difficulty doing this are (a) if you have used two different prefixes
for the same namespace (e.g. one in the stylesheet and one in the source
document - one might be the default prefix "") or (b) if you have used
two different namespaces with the same prefix (usually "").

Michael Kay


 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.