This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: transforming fragments specific to the format?
- To: docbook-apps at lists dot oasis-open dot org
- Subject: Re: DOCBOOK-APPS: transforming fragments specific to the format?
- From: Robert Koberg <rob at koberg dot com>
- Date: Thu, 19 Jul 2001 11:08:58 -0700
- References: <4.0.2.20010718172703.009bec40@parrot>
>
> Does anyone know an XSLT trick for inserting a
> document fragment in the input document before
> applying the transformation?
>
> In particular, the output format should determine
> which document fragment to insert and transform.
didn't read the rest - hopefully this does it?
The best way I know is to use the XSL document function to pull in any
well-formed document:
<xsl:apply-templates select="document($path-to-file)/elemroot"/>
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org