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

Re: Finding namespace definitions (Was: Re: check if nodes m

Subject: Re: Finding namespace definitions (Was: Re: check if nodes match xpath expression)
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Mon, 4 Dec 2000 15:00:35 +0000
location of the namespace definition
Dimitre,

> Your template will not produce the namespace definition for the
> 'node21' element. Therefore, the source code of the original xml
> document will lack some of the namespace definitions.

Fair enough: you can work out the logical location of the namespace
definition but not the physical location, just as you can't work out
whether an attribute has been assigned a default value or actually
declared, or whether a '>' has been represented as a '>' or '&gt;' or
'&#62;', whether " or ' were used as quotes around attribute values
and so on.

I guess it depends on how far you're prepared to go to recreate
exactly the source XML that you're displaying, regardless of logical
equivalence.

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.