cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Morandini" <l.mo...@tin.it>
Subject Yet another XInclude problem
Date Wed, 17 Oct 2001 19:45:27 GMT
Folks,

	I'm upset by this XInclude-thing... I can't figure out what's wrong.

	Ok, here's my sitemap:

<map:match name="wildcard" pattern="map.xml">
	<map:generate type="serverpages" src="docs/map.xsp.xml"/>
	<map:transform type="xinclude"/>
    	<map:serialize type="xml"/>
</map:match>

	Heres the map.xsp.xsl file:

<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<xsp:page
   	language="java"
   	xmlns:xsp="http://apache.org/xsp"
	xmlns:xinclude="http://www.w3c.org/2001/XML/XInclude"
>
	<xinclude:include xinclude:href="context:docs/parameters.xml"
xinclude:parse="xml"/>
</xsp:page>

	Here's the result:

  <?xml version="1.0" encoding="UTF-8" ?>
  <xinclude:include xmlns:xinclude="http://www.w3c.org/2001/XML/XInclude"
xmlns:xsp="http://apache.org/xsp"
xinclude:href="context:docs/parameters.xml" xinclude:parse="xml" />

	Frustrating, isn't it ? By the way, the parameters.xsml file is in the same
directory of map.xsp.xml.

Thanks in advance,


---------------------------------------------
               Luca Morandini
               GIS Consultant
              lmorandini@ieee.org
           +39 0744 598 51    Office
           +39  335 681 02 12 Mobile
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.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