|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Speed difference attributes vs elements
Hi,
I'm designing a new schema and have googled extensively for reasons to use elements or attributes to store info. The general opinion is that removing attributes leaves the content intact. So <book title="..."> is wrong and <book language="..."> is OK. With that rule in mind I designed a diagnostic schema that contains configuration information like which models and software releases experience a problem, as follows: <problem models="long list" software_releases="long list" > instead of <problem>
<models>
<model>...</model> (many times)
</models>
<software_releases>
<rel>...</rel> (many times)
</software_releases>
</problem>Now my model list can be up to 50 words of 10 characters each, and my software release list can be up to 20 3-digit releases like 3.2.1. Q1: Is there a performance penalty for either design? Q2: Does the answer depend on the XSLT processor? At the moment we are batch-transforming XML to HTML using Sablotron, but in the future we want to serve XML to the browser (Firefox and IE6 currently). Regards, Cas
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








