Subject: RE: [xsl] Refering the processed nodes From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Wed, 6 Jul 2005 13:18:05 +0100 |
You can write a sequence of transformations in which each phase processes the output of the previous phase. There are two ways of doing this: (a) make each phase a separate stylesheet and a separate transformation (often called a pipeline) (b) do multiple phases within a single stylesheet. For this approach you capture the results of one phase in a variable, and apply the next phase to the value of that variable. In XSLT 1.0 this needs the xx:node-set() extension which converts a result-tree-fragment to a node-set. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Lakshmi narayana [mailto:lchintala@xxxxxxxxxxxx] > Sent: 06 July 2005 13:23 > To: XSL (E-mail) > Subject: [xsl] Refering the processed nodes > > > Hi > > I have one scenario. Let me explain the scenario. > 1) I have an xml file. I applied some templates in the xslt > file. At the > time of applying the templates, > I added new attributes to the actual nodes. > 2) Is it possible to do processing on the resultant nodes > after applying > templates. ie..Can we get the reference of the > resultant nodes to do further modification. > > > > Thanks, > Laxmi Narayana Babu > OSI Technologies.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Refering the processed no, Mukul Gandhi | Thread | RE: [xsl] Problem with generating s, Jarno.Elovirta |
Re: [xsl] Refering the processed no, Mukul Gandhi | Date | RE: [xsl] Reading two xmls and chan, Michael Kay |
Month |