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

Re: ***********Transformation of an XML document conta

Subject: Re: ***********Transformation of an XML document containing a default namespace ************
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 24 Oct 2001 20:33:14 +0100
Re:  ***********Transformation of an XML document conta
>That rather depends upon what your definition of perfectly OK is.
>                                                 ---------
>Sure, it's OK to do it, as the XSLT spec allows it, but perfect?

I thought from the context that it was clear that I meant "perfectly in
accord with the spec" rather than "perfectly in accord with life as it
should be".

Note however you _can_ already in XSLT ensure that any required
namespace nodes are in the result tree, so that you can ensure exactly
the prefixes that you want do appear in namespace declarations.  The
spec _allows_ a system to synthesisse additional namespace declarations
for the same namespaces, but with different prefixes, and to use those
prefixes on elements, but as far as I know no system does this.  XSLt is
I think written so that a conforming system can be implemented over a
very strict xml-namespace parser that _only_ passes on local name and
prefix information in the source tree, so if the original prefixes were
not recorded it would not be pocible to mandate that they were kept.
However it seems that every namespace aware parser api does in fact pass
on prefix info, and all xslt systems use that.

David


_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 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.