That's what I thought, Travis. I just wanted to make sure that I could use
both in the same document based on data/no data.
Thanks for the confirmation!
From: travis forden [mailto:[log in to unmask]]
Sent: Monday, September 10, 2001 1:56 PM
To: [log in to unmask]
Subject: Re: empty-element tag question....
You can use empty tags, but they do not have a begin and end tag, just a
modified begin tag.
<tag>text or data or other tags go here</tag>
At 03:39 pm 2001-09-10, you wrote:
>I have a question regarding the use of empty-element tags. I have an XML
>document that contains some elements that at times may be empty. I was
>reading that it's illegal in XML to use start/end tags with empty elements.
>Is this true and if so, I assume that I can alternate between start/end tag
>and empty-element tags, correct? I am pretty new to XML and I'd appreciate
>any input that would help me to produce good, well structured files.