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: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]