|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Feeding DOMs to XSLT Processors
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
|
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
|

Cart








