[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: HXTML5

  • From: Stephen Green <stephengreenubl@gmail.com>
  • To: XML Developers List <xml-dev@lists.xml.org>
  • Date: Wed, 23 Feb 2011 19:42:34 +0000

Re: HXTML5
If it is written standalone it can either be

 <root>
 <a b1=c1 b2='c2' b3="c3">
 <d e>f
 </d>
 <g><h></g>
 </root>

or as fragments

or

 <a b1=c1 b2='c2' b3="c3">
 <d e>f
 </d>
 <g><h></g>

as when used for examples, etc

When written standalone as a document it can be
written

<! DOCTYPE hxtml>
<hxtml>
 <a b1=c1 b2='c2' b3="c3">
 <d e>f
 </d>
 <g><h></g>
</hxtml>

Namespaces MAY be used with a special attribute
hxtmlns="foo.bar"

but no prefixes





----
Stephen D Green



On 23 February 2011 19:19, Stephen Green <stephengreenubl@gmail.com> wrote:
> 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
>

  • References:
    • HXTML5
      • From: Stephen Green <stephengreenubl@gmail.com>

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.