[xml] can't not insert text into self-terminating tag



Hallo everybody,
 
after several trys without success, I feel to ask the list.
I have an empty tag
<temp/>
 
, but I can't insert text using
 
xmlNodeSetContent(cur->xmlChildrenNode, (const xmlChar *)content);
 
But i can insert text into this kind of empty tag:
<temp></temp>
 
Is there a way to insert text into <temp/> ???
 
Thanks in advance,
Martin



每天都 Yahoo!奇摩
海的顏色、風的氣息、愛你的溫度,盡在信紙底圖
信紙底圖

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]