My understanding is that there is a working group that is trying to
formalize HTML as an application of XML (too loose right now). The stuff
currently in the spec can exist as an application of XML as well.. adding
<ELSE> without </ELSE> breaks document validity as far as XML parsers are
concerned (unless you make it <ELSE/>, in which case you'll have to have a
code attribute like <ELSE CODE="int i = 4;"/>, which is kinda lame).
Mike
-----Original Message-----
From: Ben Engber [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 28, 1999 1:47 PM
To: [EMAIL PROTECTED]
Subject: Re: ELSE tag
Well, the way I think about it is:
If you're a programmer -- do it in java.
If you're a designer -- you're not going to understand XML semantics any
better than java semantics, so make it as simple as possible: i.e.
<IF>
<ELSE>
</IF>
and forget the looping stuff and fancy tags.
I'm also wondering, has anyone come up with a way of disallowing <% %> tags
without using a preprocessor?
-Ben
At 01:04 PM 4/28/99 -0700, Rod McChesney wrote:
>I'm familiar with XML and HTML empty tags. Note, however, that they do
>not have tag bodies, whereas an <ELSE> tag does. That is, if I'm
>parsing the file into a DOM tree, the stuff between <ELSE> and </IF>
>will logically belong to the <IF> tag, not <ELSE>. Again it's easy to
>hack such things in but the semantics are not quite right even if
>the appearance is.
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".