Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Bes XPath query?

From: CxT <catxtwo@-----.--->
To: NULL
Date: 5/8/2009 9:12:00 AM
On May 8, 8:52=A0am, Martin Honnen <mahotr...@yahoo.de> wrote:

> So that is XHTML and that means, if the document is parsed by an XML
> parser, that you need to bind a prefix to the namespace URI and use that
> prefix in your XPath expressions.

Could you please provide an example of what such an expression would
look like?

> > PS: Note that other XPath searches work in this document, for example:
> > "//table/tr[@class =3D 'rs0']/th/span[@class =3D 's1']"
>
> That is rather odd, with the namespace declaration being present on the
> root element. How do you parse the document, which XPath API do you use?
> Is that XPath over HTML, as some browsers like Mozilla or Opera provide?

I am using NSXML under Cocoa/Objective-C (Mac OS X).

Once again, thank you for your help.  I didn't even know XPath existed
until a few days ago. :(


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent