Re: [xml] empty tag



Ok it seems to work now. I guess the problem was between my two ears...


From: Jean-Francois Dupont-Viel (QA/EMC)
Sent: Thursday, July 06, 2006 2:53 PM
To: Jean-Francois Dupont-Viel (QA/EMC); xml gnome org
Subject: RE: [xml] empty tag

even if I put the

xmlSaveNoEmptyTags=1;

I get :

<tag/>

 IS this normal ? 


From: xml-bounces gnome org [mailto:xml-bounces gnome org] On Behalf Of Jean-Francois Dupont-Viel (QA/EMC)
Sent: Thursday, July 06, 2006 1:40 PM
To: xml gnome org
Subject: Re: [xml] empty tag

the function I was talking about is xmlSaveFile under the tree module.
 
JF


From: xml-bounces gnome org [mailto:xml-bounces gnome org] On Behalf Of Jean-Francois Dupont-Viel (QA/EMC)
Sent: Thursday, July 06, 2006 1:34 PM
To: xml gnome org
Subject: [xml] empty tag

Hi,
 
We are loading a xml file which contains a tag with no value :

<tag></tag>

Further away, we call xmlSave() which convert the same tag as this :

<tag/>

Which is correct of course !  But I would like to know if there is a way of preventing this change anyway, and keep it`s original format.
 
Jean-Francois 
 

Jean-Francois Dupont-Viel
Ericsson Research Canada
Software Engineer, MMS - Multimedia Messaging Service
Tel : (514) 345-7900 ext: 7533
E-Mail : jean-francois dupont-viel ericsson com

 


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