cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject Re: SV: Only one syntax for xpointers in xincludes?
Date Wed, 23 Feb 2005 12:18:00 GMT
On Wed, 2005-02-23 at 12:06 +0100, Claus Bech Rasmussen - TELMORE wrote:
> > 1. it's not supported by Cocoon. I suppose the xpointer 
> > attribute is something that got added in a recent version of 
> > the spec (at least, more recent then the last update to 
> > Cocoon's implementation).
> 
> Are there any plans of supporting this construct?

I don't think so.

>  
> > 2. lookups based on IDs are not supported, since this would 
> > require validating the document against a DTD. The 
> > alternative is to use something like 
> > //*[@id='my.element.id'], which should work equally well.
> 
> Yes, I tried that approach and it works fine.
> 
> My problem is that the XML editor used by the people contributing
> documents only supports the xpointer attribute, so I'm trying to figure
> out whether to hack the editor, Cocoon or - hopefully - neither.
> 
> Maybe I should do an intermediate transformation that changed the syntax
> of the xinclude?

That's an option.

> 
> /claus

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org


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


Mime
View raw message