Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] New XPath issue: what to do with non-nodes?

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 Abato <mrabato AT earthlink.net>
  • Cc: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] New XPath issue: what to do with non-nodes?
  • Date: Thu, 13 Jan 2005 09:05:34 -0500

Michael Abato wrote:

Another reason a developer may prefer XPath over java code is that it allows you to move the details of the data model into declarative configuration. This is particularly appealing in IoC/DI infrastructures (SpringFramework, PicoContainer, HiveMind, etc.) which bind objects at runtime and minimize concrete object coupling. Moving the XPath expression external decouples runtime objects from the concrete data model as well.

I haven't worked with these. Would such frameworks be likely to serialize booleans, numbers, and strings as XPath expressions? Or would these simply be strings in an XML file somewhere? i.e. what sort of XPath expressions do these frameworks use? Concrete examples would be helpful.

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