|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: importing from txt file
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: 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
|
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
|






