Subject: Fwd: RE: [xsl] Expected behavior for parsed source containing xsl?|
From: John Mostrom <jmostrom@xxxxxxxxx>
Date: Tue, 8 Oct 2002 15:35:50 -0700
Date: Tue, 8 Oct 2002 09:59:36 +0100 From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Subject: RE: [xsl] 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
parsedSource ps = transformEngine.getParsedSource( xmlInputStream ); ... transformEngine.transform( ps, xslInputStream1, resultOutputStream1 ); ... transformEngine.transform( ps, xslInputStream2, resultOutputStream2 ); ... transformEngine.transform( ps, xslInputStream2, resultOutputStream3 );
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?
Thanks, 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