[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Including inc files in xsl
> -----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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|