[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
HXTML5
- From: Stephen Green <stephengreenubl@gmail.com>
- To: XML Developers List <xml-dev@lists.xml.org>
- Date: Wed, 23 Feb 2011 19:19:55 +0000
What if there were a variant of XML which was like
HTML? It would be typically inserted into HTML
inside a script element
e.g.
<script type="text/hxtml5">
<a b1=c1 b2='c2' b3="c3">
<d e>f
</d>
<g><h></g>
</script>
or
<root>
<a b1=c1 b2='c2' b3="c3">
<d e>f
</d>
<g><h></g>
</root>
Firstly it doesn't have to have a top level element
(but it can have) since it can be inserted inside
other HTML or XHTML elements.
Elements do not have to have closing tags (rules
determine where missing tags would have been).
Empty elements do not have to have a backslash
e.g. <h> above, in the spirit of HTML. They are
presumed to be empty as determined by parsing
rules, as with HTML.
Attributes do not have to have values (e.g. 'e' above).
Attribute values do not have be surrounded by quotes.
I guess this is distinct from XML5 though which I
think has the concept of compatibility with XML 1.0.
Might it get more traction in the HTML world?
----
Stephen D Green
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]