cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
Subject Re: [C2] : <xsp:attribute> not really OK !!
Date Tue, 12 Jun 2001 07:31:36 GMT


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


Mime
View raw message