Hi,

I have the following requirement

# : represents a white space character in data

1) <tag1>ABC</tag1>
2) <tag2>#ABC</tag2>
3) <tag3>ABC#</tag3>

I would like to extract the value ABC, without the whitespace.

I tried out the following, but does not seem to work.  Can anyone suggest a way out -

                    const XMLCh * textNodeString = (textNode.getNodeValue()).rawBuffer();
                    XMLString::collapseWS ( textNodeString );
                    char * textNodeValue = textNodeString.transcode();

--
With best regards, 

Shirish
 
begin:vcard 
n:Kulkarni;Shirish
tel;fax:+91-20-6681114, 6681832
tel;work:+91-20-6682135, X 435
x-mozilla-html:FALSE
org:Parametric Technology Corporation;Graphics, Systems & Tools 
version:2.1
email;internet:[EMAIL PROTECTED]
title:Toolkit Group
adr;quoted-printable:;;Parametric Technology R & D (I) Ltd : =0D=0ADeepak Nitrite Complex,=0D=0A7 National Games Road, ;Pune;;411006;India
x-mozilla-cpt:;-15784
fn:Shirish Kulkarni
end:vcard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to