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

Re: Want serialized (rather than DOM-tree) output from XSL t

Subject: Re: Want serialized (rather than DOM-tree) output from XSL transforma tions
From: Sean Mc Grath <digitome@xxxxxx>
Date: Thu, 24 Dec 1998 12:11:07 +0000
Re: Want serialized (rather than DOM-tree) output from XSL t
>"Duffy, Bruce" <Bruce.Duffy@xxxxxxxxxxxxx> writes:
>
> My question is this: At West, we want to apply an XSL style sheet to
> an XML document to produce a result that *is not a tree*, but is
> instead a string or stream in West's "WestPro" data stream format.
>
Here is one approach:-

1) Construct a DTD for WestPro. Depending on the nature of
the WestPro format, that DTD may be quite weak and "loose"
but that is OKAY. Make the DTD as close as possible to
a trivial mapping of WestPro constructs.

2) Write a prorgam to convert from the WestPro-XML
to true WestPro. (Should be very straightforward
in something like Python or Perl.)

3) Use XSL stylesheets to produce XML that conforms
to that DTD, and translate to WestPro with your
conversion program.

I have used this approach in the SGML world
to target formats such as RTF, Folio Flat File
etc. from stylesheet languages.


<Sean uri="http://www.digitome.com/sean.html"/>



 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.