Thanks for your response. I must request excuses because I send the
email without finish it.

I want get text **with** markup inside. With getTextContent() only get
the text, obiously ;-).
I try ((DOMText *)element)->getWholeText() but y get a (0xFFFFFFFF)
pointer and the program crash.

<D1>
 <D2>text</D2>
 <D3/>
<D1>

if element is pointed to D1 I want get a text with

 <D2>text</D2>
 <D3/>

Thanks in avance

2007/7/9, Jesse Pelton <[EMAIL PROTECTED]>:
DOMNode::getTextContent() may do what you need.  Failing that, loop through the 
element's children.  Call getNodeType() on each and process any whose type is 
DOMNode::TEXT_NODE.

-----Original Message-----
From: Jose Luis Zabalza [mailto:[EMAIL PROTECTED]
Sent: Monday, July 09, 2007 2:41 AM
To: [email protected]
Subject: Get inner text

Hello

This is a novice question. How to get a DOMElement inner text ?

--
José Luis Zabalza
jlz.3008  a t  gmail.com
Linux Counter 172551



--
José Luis Zabalza
jlz.3008  a t  gmail.com
Linux Counter 172551

Reply via email to