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

Re: Including inc files in xsl

Subject: Re: Including inc files in xsl
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Fri, 23 Jan 2004 21:52:27 +0100
including inc
Archana Rao wrote:
I am trying to include an inc file in my xsl, i tried

<!-- header contents start here <xsl:copy-of select="document('header.inc')" /> <!-- header contents end here -->

It does not seem to work.

A somewhat more specific description of what "does not seem to work" would be helpful. I suspect you expect document() to do something else than it's supposed to do. The 'header.inc' file is expected to be well formed XML. The "inc" extension suggests it's acutally more like a PHP snipped, which is most likely ignored.

You probably can get more hints if you supply a few more
details about your problem.

J.Pietschmann

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


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.