You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Tobias McNulty <tm...@datadesk.com> on 2001/12/05 15:15:31 UTC
Fwd: Standards XPath
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: tmcnulty@datadesk.com
Web: www.datadesk.com