[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re[2]: Alternative to XSLTHL?

Subject: Re[2]: Alternative to XSLTHL?
From: Jacek Iwanski <jiva@xxxxxxx>
Date: Tue, 11 May 2010 18:48:18 +0200
Re[2]:  Alternative to XSLTHL?
Hello Dimitre Novatchev,

11 maja 2010 at 00:09:59, you wrote:

[sorry for previous pre-mature posting]

> Some more information about this task, please?

 I am migrating from MediaWiki, which uses the following highligher,
  written in PHP:

  http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi

  (or a variation of the above)

> 1. What is XSLTHL ?

  A single JAR file with syntax highlighting module to be invoked with Saxon, Xalan, etc.

  http://sourceforge.net/projects/xslthl/

> 2. What has to be parsed? Grammar + example.

  The grammmar is DITA, but all code to parse lies within <codeblock> element.

  <codeblock outputclass="php">
    some PHP code (no <? or ?> delimiters)
  </codeblock>

  A good example is
  http://www.mediawiki.org/wiki/Extension:GeSHiCodeTag#GeSHiCodeTag_Source

> 3. What is the expected result?

  Same as above link.

--
Best regards,
Jacek Iwanski
jiva@xxxxxxx

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.