RE: [xsl] Imbbeding text files

Subject: RE: [xsl] Imbbeding text files
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 31 May 2001 16:21:12 +0100
> I have used the document() function to access data from a
> separate xml file.
> Is there a way to have the document() function read the data
> in a simple
> text file and imbed this data as text for an element in the
> output file?

As an alternative to the suggestions based on using entities (which require
the text to avoid special characters such as "&"), why not read the content
of the file into a string from your calling application, and pass that
string into the transformation as a parameter?

Mike Kay
Software AG


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


Current Thread