ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Costin Manolache <>
Subject RE: override
Date Sat, 09 Aug 2003 05:17:34 GMT
Jose Alberto Fernandez wrote:

> From the XSLT bible by Michael Kay (2nd edition page 232):
> "Like inheritance un object-oriented languajes, <xsl:import> is designed
> to allow the creation of a library or reusable components, only in this
> case, the components are modules of stylesheets. And the mechanism works
> in a very similar way to inheritance".
> My understanding is that we wanted <import/> to allow us to define
> modules of <targets/>.
> You should read the full text of that page, I think a lot of what they
> want to acomplish in XSLT matches what I think, we need to acomplish in
> ANT, not sure is the way is done is the best for ANT, and they definetly
> go deeper than just stylesheet overriding (precedence) they override all
> kinds of things. Many do not apply to us, but others may.

Understanding the import in XSLT is not very easy ( at least for me ) -
and I doubt that I'll be able to look at few XSLT using import and 
figure out the right order ( even if I think I understand the spec ).

In any case - I would be very curious to know if there are other people
who can claim they like ( and understand ) the XSLT import and feel 
comfortable understanding xslt files where the precedence rules are used.

IMHO ant should try to be a bit easier to use than XSLT.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message