DOM and Pretty Print

I

Imran

Hello all,

when i use DOM to generate the XML file ,what i get for a tag is as follows

<MYTAG ATT="Hello"/>

But what I want it

<MYTAG ATT="Hello"></MYTAG>

How to get this way?

Thank you
 
G

GArlington

Hello all,

when i use DOM to generate the XML file ,what i get for a tag is as follows

<MYTAG ATT="Hello"/>

But what I want it

<MYTAG ATT="Hello"></MYTAG>

How to get this way?

Thank you

Assign something to the value of your tag.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top