I am resending the message below. I sent it yesterday afternoon and
for some reason it hasn't showed up on the list yet.
Hello,
I am fairly new to Xalan. Could someone tell me, what is the
standards compliant way of applying an XPath expression to a
Document or Element object obtained through Xerces?
right now I am using org.apache.xpath.XPathAPI:
XPathAPI xpath = new XPathAPI();
Element result =
(Element)xpath.selectSingleNode(mydoc.getDocumentElement(),
"//somenode");
Thanks,
Toby
--
Tobias McNulty
Data Description, Inc.
840 Hanshaw Road, Suite 9
Ithaca, NY 14850
Phone: (607) 257-1000
E-mail: [EMAIL PROTECTED]
Web: www.datadesk.com