[thelist] XML DOM question (possibly a silly one, possibly not)

Matt Warden mwarden at gmail.com
Wed Jul 6 21:09:19 CDT 2005


On 7/6/05, Paul Cowan <evolt at funkwit.com> wrote:
> Is there an easy way to do this? He can obviously do a loop through the
> child nodes of mynode, check if they're type TEXT_NODE or
> CDATA_SECTION_NODE, and if so append their value to a string but he's
> convinced there's a better way to do it in one fell swoop. Any ideas?

That's how I'd do it.

-- 
Matt Warden
Miami University
Oxford, OH, USA
http://mattwarden.com


This email proudly and graciously contributes to entropy.


More information about the thelist mailing list