Re: [xml] How to add a close tag



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.

I'm a newbie around here, but it seems to me that these are the same thing. Why do you need to add </tagname> explicitly?


Stefan Jeglinski




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