hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lior grinfeld" <lior.grinf...@gmail.com>
Subject Re: httpclient and xpath
Date Thu, 30 Oct 2008 07:56:31 GMT
i need to parse the HTML.
did someone tried the htmlparser ( http://htmlparser.sourceforge.net/ ) ?



On Thu, Oct 30, 2008 at 3:08 AM, Joseph Mocker
<mock+apache@fakebelieve.org<mock%2Bapache@fakebelieve.org>
> wrote:

> I am unclear on whether Lior wants to parse XML or HTML. Dom4j would work
> well for XML. I've used TagSoup for HTML (
> http://home.ccil.org/~cowan/XML/tagsoup/<http://home.ccil.org/%7Ecowan/XML/tagsoup/>
> ).
>
>  --joe
>
>
> Raymond Kroeker wrote:
>
>> Lior,
>>  I've had excellent results using dom4j.  Just load the xml into an
>> object and you can query the
>>
>> On Wed, Oct 29, 2008 at 08:58, Furmaniak Christophe
>> <Christophe.Furmaniak@atosorigin.com> wrote:
>>
>>
>>> maybe NekoHTML (http://nekohtml.sourceforge.net/) could be a solution?
>>>
>>> christophe
>>>
>>> --
>>> Christophe Furmaniak
>>> Technical Operations - Reporting & Testing - Atos Worldline
>>> christophe.furmaniak@atosorigin.com
>>> Tél: +33 3 20 60 81 80 - Fax : +33 3 20 60 76 76
>>> Atos Worldline www.atosworldline.com is an Atos Origin company
>>> www.atosorigin.com
>>>
>>>
>>>
>>>
>>>> -----Message d'origine-----
>>>> De : lior grinfeld [mailto:lior.grinfeld@gmail.com]
>>>> Envoyé : mercredi 29 octobre 2008 16:06
>>>> À : HttpClient User Discussion
>>>> Objet : httpclient and xpath
>>>>
>>>> i know it may not be the right place to ask this but maybe one of you
>>>> faces
>>>> this issue before.
>>>>
>>>> i want to validate the response that i get from my web application and
>>>> i
>>>> thought about xpath.
>>>> did anybody tried this before?
>>>>
>>>> i want to parse the response into document and then do
>>>> xpath.getvalue(myxpath) and validate the data.
>>>> first is there a response handler that can do this?
>>>> or does someone can recommend a package than can do it?
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Regards
>>>> Lior Grinfeld
>>>>
>>>>
>>> Ce message et les pièces jointes sont confidentiels et réservés à l'usage
>>> exclusif de ses destinataires. Il peut également être protégé par le secret
>>> professionnel. Si vous recevez ce message par erreur, merci d'en avertir
>>> immédiatement l'expéditeur et de le détruire. L'intégrité du message ne
>>> pouvant être assurée sur Internet, la responsabilité du groupe Atos Origin
>>> ne pourra être recherchée quant au contenu de ce message. Bien que les
>>> meilleurs efforts soient faits pour maintenir cette transmission exempte de
>>> tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa
>>> responsabilité ne saurait être recherchée pour tout dommage résultant d'un
>>> virus transmis.
>>>
>>> This e-mail and the documents attached are confidential and intended
>>> solely for the addressee; it may also be privileged. If you receive this
>>> e-mail in error, please notify the sender immediately and destroy it. As its
>>> integrity cannot be secured on the Internet, the Atos Origin group liability
>>> cannot be triggered for the message content. Although the sender endeavours
>>> to maintain a computer virus-free network, the sender does not warrant that
>>> this transmission is virus-free and will not be liable for any damages
>>> resulting from any virus transmitted.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>>> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>


-- 

Regards
Lior Grinfeld

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message