[xsl] RE:

Subject: [xsl] RE:
From: Rod Humphris - FLPTN <rod.humphris@xxxxxxxxxxxxxx>
Date: Mon, 28 Jul 2003 12:03:04 +0100
Hi Peter

A common way to use one xslt to work with data from more that one file is
like this:

<xsl:variable name="OtherData" select="document('OtherData.xml')"/>

You can then reference it with xpath statements like: "$OtherData/*" (for
the root element of the document)

One xslt can use templates from other xslt; check out <xsl:import/> and
<xsl:include/> in the documentation.

I believe it is possible to apply-templates to the results of other
templates in xslt2 but this an advanced topic (well for me anyway). It is no
problem to pass the result of a template to another named template as a
parameter for further processing.

If you need further help send short example input, xsl, and desired output.

Cheers

Rod

-----Original Message-----
From: Peter_Ivan@xxxxxxxxxxxxxxx [mailto:Peter_Ivan@xxxxxxxxxxxxxxx]
Sent: 28 July 2003 11:32
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject: 



dear sir,

Can a single xsl take two inputs.
or can an xsl after one transformation take the transformed xml as its
input
which is applied by another xsl and is included the main xsl.

hope i have made myself clear

thanks and rgds
Peter Ivan



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


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________


________________________________________________________________
Any opinions expressed in this email are those of the individual and not necessarily the Company. Unless expressly stated to the contrary, this email is not intended to give rise to a new, or affect an existing, contractual or other legal relationship.This email and any files transmitted with it, including replies and forwarded copies which may contain alterations) subsequently transmitted from the Company, are confidential and solely for the use of the intended recipient. The unauthorised use, disclosure or copying of this email, or any other information contained or attached,is prohibited and could, in certain circumstances, be a criminal offence.

If you have received this email in error please notify the sender as soon as possible.

This footnote also confirms that this email message has been swept for the presence of computer viruses.

www.focusdiy.co.uk
_________________________________________________________________

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________

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


Current Thread
  • [xsl] RE:
    • Jim Fuller - Mon, 28 Jul 2003 11:37:36 +0100
      • <Possible follow-ups>
      • Rod Humphris - FLPTN - Mon, 28 Jul 2003 12:03:04 +0100 <=
      • cknell - Mon, 28 Jul 2003 07:05:22 -0400
      • Peter_Ivan - Mon, 28 Jul 2003 17:27:40 +0530