Re: wiki's

Subject: Re: wiki's
From: "Simon North" <Simon -dot- North -at- quintiq -dot- com>
To: <xchaotic -at- gmail -dot- com>,<techwr-l -at- lists -dot- techwr-l -dot- com>
Date: Mon, 12 Mar 2007 22:01:44 +0100

Converting raw wiki code to XML can be achieved quite easily
using flex and some very elementary C code. Basically, once you've
got the main routine working, the flex part is a simple two-column text
table where the left column contains the wiki code you want to match
and the second column contains the XML/HTML code you want to transform
it
into. flex also has 'modes' so you can handle markup inside tables. The
only
thing I haven't been able to deal with satisfactorily is deeply nest
lists, but
fortunately these don't appear too often in 'normal' wiki pages.

Once it's in XML or HTML it's pretty trivial to pass it through XSLT to
convert
it to any markup you want, or even Word (though I prefer using DSSSL for

that).

I would be happy to provide code examples, with the caution that I am
not a
programmer so, even though it works, the code may not be particularly
elegant.

Simon.
This message contains information that may be privileged or confidential
and is the property of Quintiq. It is only intended for the person to
whom it is addressed. If you are not the intended recipient, you are not
authorized to read, print, retain, copy, disseminate, distribute or use
this message or any part thereof. If you have received this message in
error, please notify the sender immediately and delete all copies of
this message. Please note that e-mails are susceptible to change,
therefore they are not binding.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Create HTML or Microsoft Word content and convert to Help file formats or
printed documentation. Features include single source authoring, team authoring,
Web-based technology, and PDF output. http://www.DocToHelp.com/TechwrlList

Now shipping: Help &amp; Manual 4 with RoboHelp(r) import! New editor,
full Unicode support. Create help files, web-based help and PDF in up
to 106 languages with Help &amp; Manual: http://www.helpandmanual.com

---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
or visit http://lists.techwr-l.com/mailman/options/techwr-l/archive%40web.techwr-l.com


To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com

Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwr-l.com/techwhirl/ for more resources and info.


Follow-Ups:

Previous by Author: Re: wiki's
Next by Author: Re: File utility suggestions?
Previous by Thread: Re: wiki's
Next by Thread: Re: wiki's


What this post helpful? Share it with friends and colleagues:


Sponsored Ads