Re: Round-tripping ixml?

> A newbie here with a newbie question. Is there an ixml processor anywhere that supports round-tripping? That is, not only parsing from “not XML” into XML, but also generating/linearizing/flattening from XML into “not XML”.
It is the next part of my work on my implementation, but not there yet I'm afraid.

> I don’t seem to be able to find anything like that anywhere. All the implementations seem to be parsers, and only parsers. Even the ixml specification talks only about parsing, no mention of the other direction anywhere. This surprises me.

If you don't delete any terminals in your ixml grammar, then the XML roundtrips without any work. Otherwise, with care, judicious use of CSS ::before, ::after and the content property can work wonders.

Steven

Received on Tuesday, 18 October 2022 08:45:42 UTC