Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] About xinclude

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: matienzar AT muvale.com
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] About xinclude
  • Date: Thu, 24 Feb 2005 08:00:15 -0500

Marcial Atienzar Navarro wrote:


Is to say, how can I include all the nodes without specifiyng it?

Doing this with XInclude would require either the XPointer xpointer scheme or the XPointer xpath scheme. These are not currently supported by XOM. Sorry. :-(

Possibly I'll add support for one or both of these in the future (not in 1.1) but doing so would require replacing the current XPointer parser with something a lot less hacky. The fact that an XPath expression can contain any of the characters uses to delimit XPointer parts means I'd need a full-blown recursive descent or other grammar based parser, and right now I just don't have the time to write that. I will file it as an RFE for Jaxen. maybe I can trick^H^H^H^H^H persuade someone else into doing the work. :-)

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