xsl-list
[Top] [All Lists]

Re: Measuring the complexity of XSLT stylesheets

2005-04-17 11:18:26
"Francesco" == Francesco Barresi <kywocs(_at_)gmail(_dot_)com> 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[(_at_)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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--