[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: including content files for output?

Subject: RE: including content files for output?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 21 Dec 2005 10:28:51 -0000
unparsed text uriresolver
> hmmm ... what if I want to include a file of plain text, 
> inserting that into
> some node? The example that comes to mind is disclaimer text.

XSLT 2.0 has a function unparsed-text() to handle that use case.

In 1.0, you can often write a URIResolver or similar which reads the plain
text and puts it in a simple XML wrapper. Alternatively, you can write a
skeletal XML document which reads in the plain text as the expansion of an
XML entity reference, and your document() call can then reference the
skeletal XML document.

Michael Kay
http://www.saxonica.com/ 

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.