This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
importing from txt file
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] importing from txt file
- From: john wa <jonni at gmx dot co dot uk>
- Date: Mon, 3 Sep 2001 12:03:27 +0200 (MEST)
- Reply-To: xsl-list at lists dot mulberrytech dot com
in my xsl i need to reference an external document which is a text file.
i try to do something like <xsl:copy-of select="document('eg.txt')/" />
but obviously, because eg.txt isn't an xml file it won't work. is there
another way to import a file but treat the whole file as CDATA?
thanks.
--
Sent through GMX FreeMail - http://www.gmx.net
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list