[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: The XSL-List Digest V1 #181
> Does an XSL stylesheet exist for mapping the XSL formatting objects > (http://www.w3.org/TR/WD-xsl/FO namespace) into HTML objects > (http://www.w3.org/TR/REC-html40 namespace)? It wouldn't be perfect since the > formatting models aren't exactly the same but at least it would be a place to > start. Henry S. Thompson writes: >>I'm working on a style-sheet which maps fo:... to XML+CSS, will probably release it once there's a browser out there that can handle the result :-( << Using the new MS VJ++ 6.0 it is very easy to write your own browser. The same scheme can be used with any language and the COM version of MSHTML. Write a small app the initializes an empty HTML page. Then just use t he DOM to create HTML objects as your parsing engine signals events. For example to make a browser that supports the XSL formatting objects... First build a stylesheet to map the FO objects to HTML. The build a simple element factory on to the backend of James Clark's XT to create the HTML objects. Think of the MSHTML system as a formatting engine, not a browser. If you want to add your own custom objects, write them as an ActiveX or Javabean and then wrap them in an <OBJECT> tag. Jon Smirl jonsm@xxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|