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 ?

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to