You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Ma...@nokia.com on 2001/02/21 07:57:29 UTC

XML for better XSL performance

hi all,
	i have to represent an address using XML
that address would be then passed to an XSLT processor for being transformed
into something

will i gain some XSL performance if i write, for example this:

<address>
  <person name="aaa" surname="bbb" />
  <location road=""
	     city=""
	     state"" />
</address>

instead of

<address>
   <person>
       <name>aaa</name>
       <surname>bbb</surname>
   </person>
   <location>
       <road>road</road>
       <city>San Francisco</city>
       <state>California</state>
   </location>
</address>


????


the basic question is: will i gain in performance if i access (for
transforming) element's attributes instead of element's children??

thanx in advance and regards
	marco