Re: In-Browser Transforms was RE: Programming language
Mark asks----
Side note, what are you using in the browser to transform DITA XML into
HTML? Some library? Your own extension of some kind?
"... implemented a Single Page App that transforms DITA to HTML in the
browser"
================
I use the XSLT processor that is in the browser. That means I'm stuck with XSLT 1.something or other... See this for more info: https://www.w3schools.com/xml/xsl_client.asp
Michael Kay offered an open sourced lib that implements SAX in JS, but I ran into some memory management issue that I can't exactly recall any more. Dr. Kay said that since it was open source, no fixes... He went on to make a commercial version. I'm sure it's quite good.
Beyond the basic transform, the app manages links, conrefs, search, and a few other things that turn out not to be 100% obvious. You can see it in action here:
https://docs.turbonomic.com/docApp/doc/index.html?config=7.21_XL.json
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Visit TechWhirl for the latest on content technology, content strategy and content development | https://techwhirl.com
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-
To unsubscribe send a blank email to
techwr-l-leave -at- lists -dot- techwr-l -dot- com
Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwhirl.com/email-discussion-groups/ for more resources and info.
Looking for articles on Technical Communications? Head over to our online magazine at http://techwhirl.com
Looking for the archived Techwr-l email discussions? Search our public email archives @ http://techwr-l.com/archives
References:
In-Browser Transforms was RE: Programming language: From: Chris Despopoulos
Previous by Author:
Re: What do you call policy/process/procedure structure?
Next by Author:
Re: Microsoft Word's Rewrite feature now does entire sentences
Previous by Thread:
In-Browser Transforms was RE: Programming language
Next by Thread:
contract job
Search our Technical Writing Archives & Magazine
Visit TechWhirl's Other Sites
Sponsored Ads