[Home] [By Thread] [By Date] [Recent Entries]


Michael Kay wrote:

>>My real "beef" is the 2666 line script. It has numerous
>>redundancies (i.e. duplicate code) and looks like a nightmare 
>>to maintain. 
>>    
>>
>
>
>It's a common problem. I once reduced a 2000-line stylesheet to 20 lines
>plus some data tables. There are lots of people who learn how to write
>concrete XSLT code without learning how to write it generically at a higher
>level of abstraction. The same is probably true of most languages.
>  
>
do you have an example? i'm working on a layout engine at the moment 
that's rapidly approaching that sort of complexity and i'd love to 
simplify it the way you described.

>Michael Kay
>http://www.saxonica.com/
>
>
>
>-----------------------------------------------------------------
>The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
>initiative of OASIS <http://www.oasis-open.org>
>
>The list archives are at http://lists.xml.org/archives/xml-dev/
>
>To subscribe or unsubscribe from this list use the subscription
>manager: <http://www.oasis-open.org/mlmanage/index.php>
>
>
>!DSPAM:4228b5c0197696235616010!
>
>  
>

begin:vcard
fn:Rick  Marshall
n:Marshall;Rick 
email;internet:rjm@z...
tel;cell:+61 411 287 530
x-mozilla-html:TRUE
version:2.1
end:vcard


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member