You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Matt Movafaghi <ma...@aspectdv.com> on 2000/08/17 15:51:46 UTC
Element data
With a DOm parser, how do grab the pcdata
if the xml document just had
<matt> is not too bright </matt>
how do i grab " is not too bright "
thanks, matt
Re: Element data
Posted by Juergen Dufner <du...@pi3.informatik.uni-mannheim.de>.
I suppose your node is the element "matt", then use
Node text = getFirstChildren();
String s = text.getNodeValue();
J�rgen Dufner
WWW: http://www.jdufner.de/
On Thu, 17 Aug 2000, Matt Movafaghi wrote:
> With a DOm parser, how do grab the pcdata
>
>
> if the xml document just had
>
> <matt> is not too bright </matt>
>
> how do i grab " is not too bright "
>
>
> thanks, matt
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
>
>