[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XML to RTF with XSL?

Subject: RE: XML to RTF with XSL?
From: Linda van den Brink <lvdbrink@xxxxxxx>
Date: Tue, 9 Jan 2001 15:49:42 +0100
fo to rtf xsl
> > It probably wouldn't be too hard (If I could remember any dsssl) to
> > write a dsssl stylesheet for XSL FO in which case Jade could 
> > read in an
> > XSL FO file and spit out rtf, mif, tex or whatever.
> > 
> > There was talk at one time of making the jade back ends directly
> > available to an XSL rather than DSSSL front end but I don't know
> > if anything came of that, and writing a DSSSL sheet to read 
> XSL FO is
> > no doubt easier than modifying the sources of Jade:-)
> > 
> 
> Good idea! My DSSSL knowledge must be very rusty (it was never very
> extensive to start with) and I haven't dived into XSL-FO yet 
> either, but I
> wouldn't mind practising these skills. I think I'll try to 
> cook something up
> and then maybe others in the field could jump in and 
> finish/improve it. 

I looked into this, but don't see how it can be done. If I have a formatting
object like this: 

<fo:block font-size="11pt" "font-family="sans-serif">a paragraph</fo:block>

I would want to make a rule in my DSSSL stylesheet like: 

(element fo:block (make paragraph font-size="11pt"
font-family="sans-serif"))

[sorry for any errors]

I want to *pull* the font-size and font-family information from the
attributes on fo:block, but I can't do that in DSSSL, or can I? 

If I need to re-enter all the formatting information instead of being able
to pull them from my formatting objects document, then I'd be better of just
doing an XML-to-RTF with a DSSSL stylesheet only, instead of using xsl:fo in
between. Right? 

Linda


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.