[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Including inc files in xsl

Subject: RE: [xsl] Including inc files in xsl
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Sat, 24 Jan 2004 14:22:36 +0100

> -----Original Message-----
> From: G. Ken Holman
> At 2004-01-23 13:26 -0800, Archana Rao wrote:
> >Let me put my question this way, is there a way to
> >include a file(not xml) in xsl?
> Not in XSLT 1.0 ... all inputs *must* be well-formed or valid XML.

So, I guess the only possible solution is wrapping the content of the
.inc-file in a CDATA section in a random XML element, and then copying the
value into the result document.

Mind you: if it's not well-formed, you can obviously not use <xsl:output
method="xml" />



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread