Hello,

The below code was tested with the current xBuilder beta.
The problem is that the spaces before and after the "hello" word are lost.

Ella



#include "hbxml.ch"

function main()
local cStr, cDoc := '<?xml version="1.0" ?><a><b>  hello  </b></a>'
local oDoc, oNode
oDoc := txmldocument():new( cDoc )
oNode := oDoc:findfirst( "b" )
cStr := '*' + oNode:cdata + '*'
? cStr
wait "..."
return NIL
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to