Subject: Re: [xsl] Measuring the complexity of XSLT stylesheets From: Lars Marius Garshol <larsga@xxxxxxxxxxxxxxx> Date: Sun, 17 Apr 2005 20:34:45 +0200 |
* Ben Pickering | | Something maybe related to the size of the tree resulting from | parsing the XPath expression? The two examples given would be | closer under this metric than the length of their string | representations... True. This metric is clearly better than the character count (which I had in my original posting, anyway), since it is at least independent of the length of the element type names and the use of whitespace. It might not be too hard to write Python script that uses some Python or Java XPath parser to compute this metric. -- Lars Marius Garshol, Ontopian <URL: http://www.ontopia.net > GSM: +47 98 21 55 50 <URL: http://www.garshol.priv.no >
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Measuring the complexity , Ben Pickering | Thread | Re: [xsl] Measuring the complexity , M. David Peterson |
Re: [xsl] Measuring the complexity , Ben Pickering | Date | Re: [xsl] Measuring the complexity , M. David Peterson |
Month |