[Mono-docs-list] Wiki Markup for ECMA documents.
jason.prell at gmail.com
Mon Nov 28 01:47:58 EST 2005
On Nov 27, 2005, at 3:04 PM, Miguel de Icaza wrote:
> Am doing some hacks to enable Wiki-like editing on our Web-based
> interface of MonoDoc, just like we do in our client version of it.
> Hoping that maybe this way we could get more contributions to our
> For the sake of simplicity though, I think it would be useful
> if we
> allowed Wiki-like markup for it. People are already familiar with the
> MediaWiki markup.
> The trick of course is that I know very little about XSLT, and am
> wondering if a kind soul could whip up the code necessary to go
> from our
> ECMA XML to MediaWiki markup and back.
Generally, when using XSLT, you need to load the entire document into
memory before applying transformations. I think at some point, you
would encounter memory stress and possible system instability.
To avoid this you could use SAX, but it is a real pain to maintain
processing state. Two recommendations I would make are: use eXist as
an embedded database to store the XML document and then process the
transformations, or use STX for transformations.
More information about the Mono-docs-list