- From: Steven Pemberton <steven.pemberton@cwi.nl>
- Date: Fri, 09 Aug 2024 19:47:02 +0000
- To: public-ixml@w3.org
Received on Friday, 9 August 2024 19:47:19 UTC
> - 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