[jdom-interest] Integrate Jaxen into JDOM?

Bradley S. Huffman hip at a.cs.okstate.edu
Sat Mar 29 06:08:14 PST 2003


"Alan" writes:

> 
> 
> 
> > "Blowfish" writes:
> > > Hi All,
> > > Is there any project developing integrated Jaxen intor JDOM?like dom4j
> >
> > Do you mean integration beyond org.jdom.xpath.*?
> >
> > Brad
> >
> 
> Yes , like I can use XPath when I query/get nodes from document, or get
> attribute by XPath, just lkie dom4j does.

You can do:

    org.jdom.xpath.XPath xp = org.jdom.xpath.XPath.newInstance(some-xpath-expr);
    List results = xp.selectNodes(document);

Brad



More information about the jdom-interest mailing list