Not in XQuery: it would be much too ugly for my taste. I've used 
http://code.google.com/p/gwtwiki/ and contributed a couple of patches. Hsiao 
could show you some sample code with xhtml-like output.

If you need to use it from XQuery, I suppose you could wrap it in a web service.

-- Mike

On 27 Jun 2012, at 09:59 , David Lee wrote:

> Has anyone seen a XQuery or XSLT parser for WikiMedia (markup for Wikipedia)
>  
> I found this list
>  
> http://www.mediawiki.org/wiki/Alternative_parsers
>  
>  
> What I'm looking for is a way to take the XML dump of Wikipedia and enrich it 
> to something more useful.  Right now all the body of an article is in 
> Wikimedia format and largely opaque to ML except as one long string.
>  
>  
> -----------------------------------------------------------------------------
> David Lee
> Lead Engineer
> MarkLogic Corporation
> d...@marklogic.com
> Phone: +1 650-287-2531
> Cell:  +1 812-630-7622
> www.marklogic.com
> 
> This e-mail and any accompanying attachments are confidential. The 
> information is intended solely for the use of the individual to whom it is 
> addressed. Any review, disclosure, copying, distribution, or use of this 
> e-mail communication by others is strictly prohibited. If you are not the 
> intended recipient, please notify us immediately by returning this message to 
> the sender and delete all copies. Thank you for your cooperation.
>  
> _______________________________________________
> General mailing list
> General@developer.marklogic.com
> http://community.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
General@developer.marklogic.com
http://community.marklogic.com/mailman/listinfo/general

Reply via email to