Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] xml:id initial implementation

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: Michael Kay <mike AT saxonica.com>
  • Cc: 'xom-interest' <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] xml:id initial implementation
  • Date: Fri, 21 Jan 2005 12:19:14 -0500

Michael Kay wrote:

Presumably this means that an xml:id attribute will automatically show up
with
att.getType() == Attribute.Type.ID?


Yes (or if it doesn't, that's a bug). I'm pretty sure this works because after I implemented the type support, I didn't have to make any changes to the XPath code to get xml:id to work in XPath. There's a function in JaxenNavigator that finds elements by ID, and it just looks for all ID-type attributes.

--
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