[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Autorouting accessible blah [Re: Roadmap for 0.92]



On 1 Aug 2003, Cyrille Chepelov wrote:
> Le Fri, Aug 01, 2003, à 01:44:47AM -0500, Lars Clausen a écrit:
>> On 1 Aug 2003, Krzysztof Foltman wrote:
>>> Alan Horkan wrote:
>>>
>>>> True False
>>>>
>>> Or <point x="3" y="2" directions="north,south,west">
>>>
>>> (overriding _whole_ default set of directions for that point)
>>
>> I'd like to do that, except it's a bad idea to have XML attributes that
>> themselves have structure to them.  Then we'll need an extra little
>> parser for the attribute, which defeats the purpose of XML.
>
> then how about:
> 	<point x="3" y="2">
> 		<north/>
> 		<south/>
> 		<west/>
> 	</point>
>
> and priorities become a matter of adding <north priority="2"/> should
> that become important.

That's actually fairly compact.  For some reason I always try to put data
into attributes -- this looks much better.

-Lars

-- 
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
"I do not agree with a word that you say, but I   |----------------------------
will defend to the death your right to say it."   | Where are we going, and
    --Evelyn Beatrice Hall paraphrasing Voltaire  | what's with the handbasket?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK