Hello Knut,

On Mon, 17 Dec 2001 09:33:32 +0100, "Wannheden, Knut"
<[EMAIL PROTECTED]> wrote:

>I would like to be able to dynamically create ant build files using some
>kind of template.
[snip]
>First I thought XSLT would be the right way, but if I have a template where
>I only need to replace some small (tagged) parts, it's probably not
>appropriate...

Why not? You can put specific matches for the tagged parts you want to
replace in the styleesheet and add a generic "copy everything" match
like this:

  <xsl:template match="@*|node()" priority="-1">
    <xsl:copy><xsl:apply-templates select="@*|node()"/></xsl:copy>
  </xsl:template>

Regards,
Rolf

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to