You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Rainer Häner <ra...@gfz-potsdam.de> on 2003/12/08 18:01:07 UTC
xinclude xml:base
Hello,
ive got a problem with xinclude an xml:base:
the following dont work:
the including file:
<?xml version="1.0" encoding="UTF-8"?>
<document type="project" xmlns:xi="http://www.w3.org/2001/XInclude">
<staff xml:base="cocoon:/">
<xi:include
href="dokumente/DRZ/included.xml#xpointer(document/name)"/>
</staff>
</document>
The included file
<?xml version="1.0" encoding="UTF-8"?>
<document type="staff">
<name>Rainer</name>
</document>
I dont want to write relative paths from the actual directory, but paths
from the context
Not given the attribute xml:base AND included file relative to the actual
directory it works
my environment:
cocoon-2.1.3, tomcat-4.1.29, windowsXP, java 1.4.2
thanks in advance for some ideas,
rainer