Subject: RE: [xsl] importing from txt file From: Bas Alberts <bas.alberts@xxxxxxxxxxxx> Date: Mon, 3 Sep 2001 13:25:31 +0200 |
John, Perjaps you could tell the list a bit more about your environment. For example, if you are using a JSP environment, you could include the text file in an XML document, and then perform the XSL on that document. The XML file could be composed as follows in JSP: <?xml version="1.0"?> <myTextNode> <%@include file="myFile.txt" %> </myTextNode> Just in case, bas.alberts@xxxxxxxxxxxx -----Original Message----- From: john wa [mailto:jonni@xxxxxxxxx] Sent: Monday, September 03, 2001 12:03 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] importing from txt file 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] importing from txt file, Oleg Tkachenko | Thread | [xsl] Special Language Characters, Tanzila Mohammad |
[xsl] importing from txt file, john wa | Date | [xsl] problem with dynamic xml gene, Carlos Fragoso Maris |
Month |