Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Scope of namespaces

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: peter murray-rust <pm286 AT cam.ac.uk>
  • Cc: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Scope of namespaces
  • Date: Sun, 05 Feb 2006 19:25:23 -0500

peter murray-rust wrote:

It seems that the prefix "ns" is not in scope as evidenced by the namespace declaration count and there is no other means of iterating through the namespaces (which is what I sometimes wish to do as I want to see if a namespaceURI is in scope at that stage and I may not know its prefix).

OK. This is weird. What's the use case? Why do you need to know if a particular namespace URI is in scope for some prefix irrespective of some particular prefix? I can't say I've ever needed to do that.

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim




Archive powered by MHonArc 2.6.24.

Top of Page