For those of you who are uninitiated in DITA, it is a single-source xml format 
that can be converted into HTML, PDF, AIR, and CHM.


I am now tasked with taking existing DITA content (which can become any of the 
formats above), which we have now authored a healthy amount of, and making this 
content display within an Adobe flex swf.


Here is the real rub, this swf will not run inside of a browser, and thusly I 
can't just convert all the content to HTML and use an iFrame to hackishly 
display the HTML content inside of it. Nor may I use any of the methods for 
HTML display in Flex that use the actual browser.

I've tried to use the <htmltext> tag in Flex to display the HTML content in a 
flex app, but this tag is far too weak. It doesn't do tables, it basically 
ignores spans and divs. Plus from what I understand CSS (In the W3C format) 
doesn't play nicely with mxml or ActionScript (They say there is css support in 
ActionScript 3.0, but this is a lie as it seems to impose all sorts of 
restrictions and won't get applied only on specific tags within the htmltext 
section). However, there is a possiblity that I am using ActionScipt CSS wrong 
(I have less than a week mxml experience and less than a month AS experience).


I am hoping that I will not need to resort to taking the PDF output, converting 
it to JPG or SWF and throwing it into an App, but things are looking bleaker by 
the day.


If anyone has any advice at all to get any of these forms into a flex app that 
can't utilize the web browser, it would be massively appreciated. 

Reply via email to