xsl-list
[Top] [All Lists]

[xsl] Alternative to XSLTHL?

2010-05-10 15:43:26
Hello,

  I need to highlight source code blocks, mostly PHP and JavaScript, while
  transforming to HTML and PDF.
  XML source is DITA, using pasted snippets within <codeblock> element.

  I'd rather import another stylesheet into existing framework than use 
external Java library.

  My question is whether it is possible to rewrite such package as XSLTHL in 
pure
  XSLT 2.0, using similar "highlighters" defined in XML.

  There is a DITA-OT plugin (dita.ot.plugins.highlight), but it is dependent on
  XSLTHL (and Ant) and wouldn't even build demo.

--
Best regards,
Jacek


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