Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Dealing with xpath using libxml
Vaucher Bastien
2/21/2007 9:33:00 AM
Hi,
I m trying to generate a xslt file from xhtml using libxml and when I m
parsing the xhtml file and look at xpaths i get something ugly like :
/*/*[2]/*[1]
I tried to do the same with REXML and i obtained :
/html/body/p
When I m parsing xml files it works fine, but with xhtml files xpaths
are really ugly.
Does anyone know how to get nicer xpaths with libxml ?
Thanks for your answers
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Dealing with xpath using libxml
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password