Re: Wiki Markup for ECMA documents.

Jason Prell <[email protected]>
Newsgroups gmane.comp.gnome.mono.documentation
Message-ID <[email protected]>
On Nov 27, 2005, at 3:04 PM, Miguel de Icaza wrote:
> Hello,
>
>     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  
> docs.
>
>     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.

eXist: http://exist.sourceforge.net
STX: http://stx.sourceforge.net/documents

-Jason


_______________________________________________
Mono-docs-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-docs-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.