xsl-list
[Top] [All Lists]

RE: Including inc files in xsl

2004-01-24 06:22:36
-----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" />

Cheers,

Andreas


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



<Prev in Thread] Current Thread [Next in Thread>