xsl-list
[Top] [All Lists]

RE: Including inc files in xsl

2004-01-26 15:48:26
Can you explain this with an example?

Thanks,
Archana


--- "Andreas L. Delmelle" <a_l(_dot_)delmelle(_at_)pandora(_dot_)be>
wrote:
-----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



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

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



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