xsl-list
[Top] [All Lists]

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

2010-05-11 14:49:13
Hello Dimitre Novatchev,

11 maja 2010 at 21:15:54, you wrote:

Why does this sound so weird, or am I the only one thinking so?

While this could be accomplished in XSLT, any other compiler-compiler
system in any other language could be used, too.

I've never imagined (and I don't find myself excited) to parse PHP in XSLT.

On the other side, generating PHP code (and any other PL code) with
XSLT seems more interesting.

 Let me clarify it.

 DITA XML files will contain technical documentation.

 There will be many contributors with different attitude to complex XML
 tagging, so the common and acceptable authoring technique will be the simplest
 one - to paste PHP code into <codeblock> element.

 Now, to generate HTML and (later) PDF, I can to use
 existing framework (DITA Open Toolkit) or write own stylesheets.
 Neither of which supports syntax highlighting in pure XSLT and I end up with 
old
 style non-highlighted output, which looks inferior to MediaWiki.

 So I can go with regex (don't know how yet) or preprocess with
 external highlighter (don't want to).

--
Best regards,
Jacek
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>