Skip to Content.
Sympa Menu

xom-interest - [XOM-interest] idref resolution

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Jeff Hoare <jhoare AT paradise.net.nz>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: [XOM-interest] idref resolution
  • Date: Fri, 30 May 2003 07:26:47 +1200

Hi,
I'm using an xmi document as input and would like to know if there is anyway
to resolve idref(s) in the document. The problem is that I'm looking for
specific tags on elements and these tags are referenced via idref's, so in
order to determine whether a particular element has been tagged with a tag
that I'm interested in I first need to resolve the reference and then check
the tag it refers to.
I have done this using a map that maps ids to their elements (and using this
to do a look up), but wonder if there is another way using XOM.

Jeff




Archive powered by MHonArc 2.6.24.

Top of Page