[xml] How to add a close tag



Hi All,

I have just started using libxml2. I am trying to write a small code the create a xml message. I am using xml text writer api. I need to add a close tag in my message as:
    <tagname attribute />
But I am unable to find the require function in the api. There is xmlTextWriterStartElement() but it creates and container tag <tagname attribute> </tagname>.

Could anyone please help me to know how can I create a close tag as above.

Thanks in advance.

-Br
Naveen


Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.

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