xsl-list
[Top] [All Lists]

Re: [xsl] Alternative to XSLTHL?

2010-05-11 12:26:40
Jacek Iwanski wrote:

  Hi,

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.

  More precisely, the grammar is the grammar of any supported
language <http://sourceforge.net/apps/mediawiki/xslthl/>, for
instance if you embed JavaScript or PHP into DITA or DocBook.
If I am right, XSLTHL is used as an option in the DocBook XSLT
stylesheets.

  So in the case of Jacek, it seems the answer to your response
(Dimitre) is "the grammar is PHP, and I want to be able to parse
a PHP exerpt while formating a DITA document by using XSLT (to
add some info to the PHP code to provide syntax highliting in
HTML)".

  Regards,

-- 
Florent Georges
http://fgeorges.org/

























      


--~------------------------------------------------------------------
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>