[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Speed difference attributes vs elements


Subject: Re: [xsl] Speed difference attributes vs elements
From: Soren Kuula <dongfang@xxxxxxxxxxx>
Date: Wed, 28 Sep 2005 02:44:17 +0200

Hi,

One of the ideas of using XML at all, instead of just cooking your own small language, is that reliable and unambigous parsing comes for free.

With


<problem models="long list" software_releases="long list" >

you are throwing out some of the advantage -- you again have to parse manually, probably introducing a bug somewhere.


instead of

<problem>
   <models>
      <model>...</model>    (many times)
   </models>
   <software_releases>
      <rel>...</rel>    (many times)
   </software_releases>
</problem>

This is much nicer in that respect, and if you use XSL you'll probably have something working much sooner. That's a real performance consideration too :)


Soren


Current Thread
Keywords