cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g4 <ja...@root10.net>
Subject Xinclude with XSL?
Date Thu, 13 Feb 2003 19:38:01 GMT
Hi there list,

is it possible to use Xinclude within XSL? At present I have this:

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
version='1.0'
                 xmlns:xlink="http://www.w3.org/1999/xlink"
                 xmlns:xi="http://www.w3.org/2001/XInclude">

<xsl:import href="menu.xsl"/>

<xsl:param name="section"/>
<xsl:param name="meta"/>
<xsl:param name="base-url"/>

<xsl:template match="/">
	<html>
		<head>
			<title>Conservatories Online</title>
			<xi:include href="{$meta}meta-{$section}.xml"/>
		</head>
	<body> .......

in the source output I get:

<xi:include href="metadata/meta-company.xml"/>

Many thanks

Jason


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message