Subject: Re: [xsl] Including inc files in xsl From: Archana Rao <archana_heroor@xxxxxxxxx> Date: Fri, 23 Jan 2004 13:26:07 -0800 (PST) |
Thanks for your reply. Let me put my question this way, is there a way to include a file(not xml) in xsl? if so how is it done? Thanks --- "J.Pietschmann" <j3322ptm@xxxxxxxx> wrote: > 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 > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Including inc files in xs, J.Pietschmann | Thread | Re: [xsl] Including inc files in xs, G. Ken Holman |
Re: [xsl] Including inc files in xs, J.Pietschmann | Date | Re: [xsl] finding unique nodes, Paul Tremblay |
Month |