A
Ara.T.Howard
i'm trying use the htree library for a relatively simple task in the hope that
it's parser will outlive one i roll on my own - it certainly seems robust as
it is... in any case i'm trying to do the following
- scan a doc for any elements that have a certain attribute
- iff the element with that attribute is of a certain class (b, i, pre, etc)
then i'll want to replace the text of that element in-place
- finally, a new doc will be produced
any hints appreciated. i've got a hand parsed version running now - but
really would like to use htree.
thanks.
-a
--
===============================================================================
| email :: ara [dot] t [dot] howard [at] noaa [dot] gov
| phone :: 303.497.6469
| Your life dwells amoung the causes of death
| Like a lamp standing in a strong breeze. --Nagarjuna
===============================================================================
it's parser will outlive one i roll on my own - it certainly seems robust as
it is... in any case i'm trying to do the following
- scan a doc for any elements that have a certain attribute
- iff the element with that attribute is of a certain class (b, i, pre, etc)
then i'll want to replace the text of that element in-place
- finally, a new doc will be produced
any hints appreciated. i've got a hand parsed version running now - but
really would like to use htree.
thanks.
-a
--
===============================================================================
| email :: ara [dot] t [dot] howard [at] noaa [dot] gov
| phone :: 303.497.6469
| Your life dwells amoung the causes of death
| Like a lamp standing in a strong breeze. --Nagarjuna
===============================================================================