[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 21:48:57 +0200
Re[2]:  Alternative to XSLTHL?
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@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.