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

Re: Feeding DOMs to XSLT Processors

Subject: Re: Feeding DOMs to XSLT Processors
From: Michael Harry Scepaniak <ihispanic@xxxxxxxxx>
Date: Mon, 7 Feb 2000 06:50:45 -0800 (PST)
xslt cobol copybook
Jon,

Both Michael Kay and yourself recommended this approach (transform the
incoming data into SAX Events instead of DOM).  I was hoping you could
give me your input on the situation described below.

We're getting data from the mainframe in the form of a big, long
string.  The field offsets are determined by a COBOL copybook.  We
pre-process the copybook into a DOM.  At runtime, we use the copybook
DOM to parse the mainframe data string into another DOM and then pass
this DOM to the XSLT processor.

Would the following be feasible -- Pre-process the copybook into a SAX
InputSource instead of a DOM, at runtime, use the copybook SAX events
to parse the mainframe data string into a separate set of SAX events,
and then pass these events to the XSLT processor?

I don't have much knowledge regarding SAX and am simply looking for a
high level "yes" or "no", but would welcome any further explanation. 
Thanks.


Mike...

> Date: Thu, 3 Feb 2000 13:57:14 -0500
> From: "Jon Smirl" <jonsmirl@xxxxxxxxxxxx>
> Subject: Re: Feeding DOMs to XSLT Processors
> 
> I have found it more efficient to transform the incoming data into
SAX
> Events instead of DOM. The SAX events approach works with all of the
> XSL
> implementation.

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


 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.