Subject: Re: Measuring the complexity of XSLT stylesheets
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 17 Apr 2005 19:18:26 +0100
|
>>>>> "Francesco" == Francesco Barresi <kywocs@xxxxxxxxx> writes:
>> Well, the length of the XPATH expression in characters gives an
>> idea, I think.
Francesco> I'm far from know enough about the subject to give some
Francesco> advice, but the length of an XPATH expression doesn't
Francesco> necessarily give the complexity of the expression, for
Francesco> example this two expressions does the same thing but
Francesco> the length is very different:
Francesco> //somenode[@someattribute]
Francesco> /rootnode/descendant-or-self::somenode[attribute::someattribute]
And so is the time to understand the two, which was my point.
--
Colin Paul Adams
Preston Lancashire
|