Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Custom XPath functions

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Wolfgang Hoschek <wolfgang.hoschek AT mac.com>
  • To: Steve Loughran <steve.loughran AT gmail.com>
  • Cc: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Custom XPath functions
  • Date: Wed, 25 Apr 2007 10:28:36 -0700

Here are some examples for doing this via Nux (internally uses Saxon): http://dsd.lbl.gov/nux/api/nux/xom/xquery/XQuery.html
Look for section "Standard functions, user defined functions and extension functions".

Wolfgang.

On Apr 25, 2007, at 12:10 AM, Steve Loughran wrote:

I have a colleague who wants to do some custom XPath functions to do
date tests, so you can select all nodes with a timestamp attr before
or after a certain date.

How can he do this in Xom?

The last time this discussion cropped up (last sept), the summary was
"you need full Jaxen and even then its quirky". Is that the current
status, especially now that Xom 1.1 has jaxen embedded?

-steve
_______________________________________________
XOM-interest mailing list
XOM-interest AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/xom-interest





Archive powered by MHonArc 2.6.24.

Top of Page