comp.text.xml
[Top] [All Lists]

Re: Tags v.s. Attributes

Subject: Re: Tags v.s. Attributes
From: Peter Flynn
Date: Sat, 26 Jul 2008 21:16:50 +0100
Newsgroups: comp.text.xml

Stefan Ram wrote:
> Peter Flynn <peter.nosp@xxxxxxxxxxxxx> writes:
>> Again, not true. <rose owner="Jack Jill Stefan"/> is the normal solution
>> to multiple parallel values, where owner is declared as IDREFS or ENTITIES.
> 
>   Thank you, I was not aware of IDREFS or ENTITIES yet.
>   So, there is limited support for parallel values in XML.
> 
>   One might say for »parallel /references/« (to ids or entities).
>   It seems as if it can not be used when the values are literals
>   (not references) such as numerals (numbers), for example.

That's correct. XML is based on SGML DTDs, and was aimed at the document
publishing field. There are many things that users of rectangular data
would like to see allowed, but for that you need another syntax.

///Peter


<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy