Don't know how many other proposals like that are
circulating on the web - if anybody cares: this is mine :)
If some of you like it, i'll write a SAX parser and a converter!
?processingInst ruction( text )
?xml(version="1 .0")
elementName(att ributeName="tex t" otherAttributeN ame='5')
{
subElementName( ){} // should allow to remove empty () ?
// emptyElement{} // we also could remove empty {} and terminate with ';'
// emptyElement;
// emptyElement(at trib="");
"text"
'text: "Hello World!"'
}
// Single-line comment
/*
Multi-line comment
*/
![CDATA([ Some CDATA ])]
!DOCTYPE(greeti ng SYSTEM "hello.dtd" )
!DOCTYPE( greeting [
!ELEMENT( greeting (#PCDATA))
])
!ENTITY(myEnt "x") // should we support entities ???
//Simple replacement for external entities:
[URI]
element(attrib= "1<2")
{
"No special handling of '<>&%^'!"
}
NameSpace:eleme nt(AttributeNam espace:atrib="t ext"){}
html(xmlns='htt p://www.w3.org/TR/REC-html40')
{
head()
{
title(){"Page Title"}
}
body()
{
p(){ "Go " a(href='http://www.bouncingbyt es.at'){"here"} }
}
}
circulating on the web - if anybody cares: this is mine :)
If some of you like it, i'll write a SAX parser and a converter!
?processingInst ruction( text )
?xml(version="1 .0")
elementName(att ributeName="tex t" otherAttributeN ame='5')
{
subElementName( ){} // should allow to remove empty () ?
// emptyElement{} // we also could remove empty {} and terminate with ';'
// emptyElement;
// emptyElement(at trib="");
"text"
'text: "Hello World!"'
}
// Single-line comment
/*
Multi-line comment
*/
![CDATA([ Some CDATA ])]
!DOCTYPE(greeti ng SYSTEM "hello.dtd" )
!DOCTYPE( greeting [
!ELEMENT( greeting (#PCDATA))
])
!ENTITY(myEnt "x") // should we support entities ???
//Simple replacement for external entities:
[URI]
element(attrib= "1<2")
{
"No special handling of '<>&%^'!"
}
NameSpace:eleme nt(AttributeNam espace:atrib="t ext"){}
html(xmlns='htt p://www.w3.org/TR/REC-html40')
{
head()
{
title(){"Page Title"}
}
body()
{
p(){ "Go " a(href='http://www.bouncingbyt es.at'){"here"} }
}
}
Comment