forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Bech Rasmussen - TELMORE" <...@telmore.dk>
Subject xpointer attribute in xincludes
Date Tue, 22 Feb 2005 15:56:00 GMT
I guess this is really a Cocoon question for the xincludes transformer,
but since xincludes was just mentioned, here goes anyway:

Reading
http://cocoon.apache.org/2.1/userdocs/transformers/xinclude-transformer.
html it seems that xpointer instructions must be provided in the href
attribute and not, as the recommendation suggests, in the xpointer
attribute?

So you can't do:
<xi:include href="myfile.xml" xpointer="my.id"/>

While this is ok:
<xi:include href="myfile.xml#xpointer(my.id)"/>

At least when I try the former on Forrest 0.6, the xpointer isn't obeyed
and the entire document is included.

Is this the intended bevahior of the xincludes transformer? Are there
any plans to change this?

Best,
Claus

Mime
View raw message