[xsl] That old song "document() with text-files"

Subject: [xsl] That old song "document() with text-files"
From: Alexander Johannesen <alex@xxxxxxxxxx>
Date: Fri, 25 Apr 2003 12:54:33 +0200

I've got a problem with importing data from text-files. Of course it
isn't supposed to work, but my question is more; does anyone have
any idea of how to solve the problem of reading documents that aren't
XML, as pure CDATA? Using document() is for XML docs only, but maybe some vendor has made some extension to this common problem? All I need
is a CDATA copy-of of a file; no parsing or anything, a pure copy.

The text-input files are generated elsewhere, and I don't have the option to add XML-wrapper to it, nor making the little HTML inside

I *could* use ENTITIES and define these, but filenames come in during
parsing in a variable $filename, so it can't work that way. Any ideas

Alexander -- ___________________ ______________________ _____________________________ | | http://shelter.nu/ | alex at shelter . nu | http://shelter.nu/xsiteable/ ___________________|______________________|_____________________________

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

Current Thread