You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Sylvain Wallez <sy...@anyware-tech.com> on 2001/06/12 09:31:36 UTC

Re: [C2] : not really OK !!


Samuel ARNOD-PRIN a écrit :
> 
> You are both right, I've noticed this difference in the xsp compiled
> java file.
> 
> But would there be a way to parse the xsp file to generate the java file
> and handling this ??
> 
> <mytag>
> 
> <xsp:logic>
> code 1
> </xsp:logic>
> 
> <xsp:attribute name="toto">value</xsp:attribute>
> 
> <mytag2/>
> 
> </mytag>
> 
> would become in java for example :
> 
> Stack <-- "mytag"
> 
> code 1
> addAttribute for head of stack : toto = value
> 
> Stack <-- "mytag2"
> Stack -> create mytag2 with attributes = null
> 
> then
> 
> Stack -> mytag creation, with attributes toto..
> 
> would be this too long to the runtime ?
> 
> Is there one dtd or schema for apache.org/xsp namespace that specify
> this ?
> 
Can you explain more precisely the above ? Remember also that there is
no element stack in C2.

A draft DTD for XSP can be found at
http://xml.apache.org/cocoon/wd-xsp.html but is does not express such
details.
-- 
Sylvain Wallez
Anyware Technologies - http://www.anyware-tech.com

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