Next in thread → Next in month →

Re: [xml-dev] RE : [xml-dev] Text or tags choice with XSD

From
Thomas B. Passin <>
To
Date
2003-09-10T03:00:23Z
ID
<00c101c37747$adfeb4c0$6501a8c0@tbp1>
Thread
Re: [xml-dev] RE : [xml-dev] Text or tags choice with XSD
[John Cowan]

> Why is using a different element name so much simpler than adding a
distinguishing
> attribute value?
>

Fewer things to remember ... less syntax to get wrong .... fewer characters
so less chance of a typo... fewer checks when processing (test for element
name then test for attribute value, vs simply test for element name)...
How'm I doing so far?

Cheers,

Tom P
Next in thread → Next in month →