This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Imbbeding text files


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]