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

RE: including a file in xsl

Subject: RE: including a file in xsl
From: <Jarno.Elovirta@xxxxxxxxx>
Date: Tue, 28 Sep 2004 14:10:46 +0300
including a file in xsl
Hi,

> I would like to include the content of an html file in an
> xslt however, i
> would prefer not to put the actual content in teh xslt as it
> clutters the
> code significantly.
> if i have menu.html which i would like to include whenever a certain
> template is matched, is there anyway to do it?

No.

(Not with vanilla-XSLT. If you have XHTML, then you can use document()
function. There might be an extension in you processor of choice that will
allow you to read non-XML documents, or you can always generate a PI <?include
menu.html?> and when serializing the document include external content.)

Cheers,

Jarno - VNV Nation: Darkangel (Gabriel)

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.