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 |
>"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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Want serialized (rather than DO, Henry S. Thompson | Thread | Re: Entity system identifier?, Pete Johnston |
RE: ANN: LotusXSL on IBM's AlphaWor, Tarkanyi Ferenc | Date | Re: XSL with scripting, Flow Simulation |
Month |