Hello,

I just start with jspx and I have small problem with 'empty tags' and 'tags with empty content'.

Terminology:
empty tag:   <div/>
tag with empty content: <div></div>
jspx - JSP document file ( with XML syntax )

Ok, so when I use 'tag with empty content' they are transform into 'empty tag' by container in proccess time.
exp.
<div class="clear"></div>    ->     <div class="clear"/>
<a href="x"></a>     ->        <a href="x"/>

but 'empty tag' != 'tag with empty content' so this behaviour is small problem.

I try use CDATA section, but it is ugly solution.
There is any other solution ?

Greetings
Flow

ps. jdk 1.5 , tomcat 5.5.4

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

Reply via email to