Subject: [xsl] Mike Lamb's Question (was: "") From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx> Date: Mon, 9 Jul 2001 16:10:54 -0400 |
If I understand your question, I don't think it can done directly. This is because in xslt, imports and includes of other stylesheets have to be done before anything else happens. You couldn't do that based on information in the source xml file, during a transformation. If you knew what transform to run, you could include it in the main stylesheet and run it on the other external file using document(). Again, if you need to specify that in the stream, it doesn't seem possible. It would seem that you could use the information from the source file to build a stylesheet - using xslt, of course - that would include the right transformations to apply to the external file, then run the second stylesheet on the source. That ought to work. Cheers, Tom P [Mike Lamb] > I need to import an external file specified in my XML source into the output > of my XSL transform. Ideally I would like to subject this external file to a > seperate, source-specified XSL transform before piping it into the output > stream. How can I best get this done? > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] RE: document was (none), Chris Bayes | Thread | [xsl] RE: external files, Michael Kay |
RE: [xsl] Passing XML value to Java, Chris Bayes | Date | Re: [xsl] XSL + Java extensions + X, Jean-Baptiste Quenot |
Month |