I think it's better to ask such questions at the cocoon list as the development of xpointer is done by the cocoon team.
> -----Original Message----- > From: Claus Bech Rasmussen - TELMORE [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 22, 2005 4:56 PM > To: [email protected] > Subject: xpointer attribute in xincludes > > > 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-tr ansformer. 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
