Re: possible additions to our existing examples?

 > - an XSLT stylesheet (or an iXML grammar) to re-serialize the XML in

 > the original notation?



I actually have a skeleton CSS stylesheet that does most of this, but there 
are a couple of edge cases that CSS can't handle, like dealing with if 
@from and @to are strings or hex, and parts are hard because the context of 
an element is lost through deletions.


Example:


ixml {display: block; margin: 5ex}
comment::before { content: "{"}
comment::after { content: "}"}
rule {display: block}
alt+alt::before {content: "; "}
rule::before { content: attr(mark) attr(name) ": " }
rule::after  { content: "."}
nonterminal::before {content: attr(name)}


Steven

Received on Friday, 9 August 2024 19:47:19 UTC