Empty tags in XMLSpy

heatherrai

Usenet Archive
Joined
Oct 21, 2005
Messages
1
Reaction score
0
Hi

Can anyone help me create empty tags using a schema in XMLSpy please?

I have a definition for a complex element <book> which has children <author>, <date> etc. but I am just using attributes in these eg <author name="Smith"/>

I have my schema set up and when I start typing in the XML I can only get the manditary elements to appear in the <book name=""></book> form which is not what I want. I know it is more correct but I reading the XML into Flash and it is a lot faster with attributes.

I have spent a morning trying to get XMLSpy to do this - any ideas?

I am new to XML as of last week so apologies for misuse of terms/general stupidity

Thanks
 

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

No members online now.

Forum statistics

Threads
548,049
Messages
3,104,243
Members
248,133
Latest member
DujonT

Latest Threads

Top