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

Fwd: RE: Expected behavior for parsed source containin

Subject: Fwd: RE: Expected behavior for parsed source containing xsl?
From: John Mostrom <jmostrom@xxxxxxxxx>
Date: Tue, 8 Oct 2002 15:35:50 -0700
john mostrom
Date: Tue, 8 Oct 2002 09:59:36 +0100
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Subject: RE:  Expected behavior for parsed source containing xsl?

We have been working on implementing parsed source in an xslt engine

I'm sorry, I haven't the faintest idea what this means. Could you explain more carefully what you are trying to do?

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx


I'm planning on providing an interface on an xsl transformation engine for reusing an xml source by that engine. Here is a mockup of the calls a user might make:

parsedSource ps = transformEngine.getParsedSource( xmlInputStream );
transformEngine.transform( ps, xslInputStream1, resultOutputStream1 );
transformEngine.transform( ps, xslInputStream2, resultOutputStream2 );
transformEngine.transform( ps, xslInputStream2, resultOutputStream3 );

This is a pretty arbitrary example but what I'm trying to illustrate is that a user of our tranformation engine may want to do the xml parsing up front and then reuse that parsed source multiple times.

Thus my dilema: when the transform engine parses the orginal xmlInputStream, should it process any xsl commands "contained" in the xmlInputStream or not?

Thanks in advance for your feedback.


 and have run into a question about what to do when parsing an xml
 source that contains xsl instructions.

(By 'contains' I'm including both embedded xsl and PI referenced xsl.)

 Is it expected that the resulting parsed source tree contains the xsl
 as a subtree or should the resulting parsed source tree be the
 transformed result of the contained xsl?

 I can see arguments for both sides but I'm leaning toward the tree
 containing an xsl subtree at this point. Is there any discussion or
 documentation on this issue anywhere on the web?

 John Mostrom

 p.s. I'm subscribed to the digest so if you could cc: me on the
 discussion, it would be great!

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

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

Current Thread


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.
First Name
Last Name
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.