xsl-list
[Top] [All Lists]

Re[2]: [xsl] Alternative to XSLTHL?

2010-05-11 11:48:53
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(_at_)ceti(_dot_)pl


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>