Empty tags in XMLSpy

H

heatherrai

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

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top