Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Output of copy-of into a variable? >Thread Next - Re: Output of copy-of into a variable? Re: Output of copy-of into a variable?To: NULL Date: 1/13/2009 11:27:00 PM On 13 Jan., 12:56, Martin Honnen <mahotr...@yahoo.de> wrote: > Michael Skovfoged wrote: > > I have to write code that will work on any nodenames/trees so the > > above code will not work for me. > > I do not understand what you want to achieve. What exactly do you want > to do with "any nodenames/trees"? > > -- > > =A0 =A0 =A0 =A0 Martin Honnen --- MVP XML > =A0 =A0 =A0 =A0http://JavaScript.FAQTs.com/ On 13 Jan., 12:56, Martin Honnen <mahotr...@yahoo.de> wrote: > Michael Skovfoged wrote: > > I have to write code that will work on any nodenames/trees so the > > above code will not work for me. > > I do not understand what you want to achieve. What exactly do you want > to do with "any nodenames/trees"? > > -- > > Martin Honnen --- MVP XML > http://JavaScript.FAQTs.com/ It could be this node: <PmtId><InstrId>InstrIdFiFi01</ InstrId><EndToEndId>EndToEndIdFiFi01</EndToEndId></PmtId> Result: SOMEINFO <PmtId><InstrId>InstrIdFiFi01</InstrI OTHERINF d><EndToEndId>EndToEndIdFiFi01</EndToEn THIRDINF dId></PmtId> or this: <Amt><InstdAmt Ccy=3D"EUR">1000.01</InstdAmt></Amt> Result: SOMEINFO <Amt><InstdAmt Ccy=3D OTHERINF "EUR">1000.01</Instd ANYINFO Amt></Amt> Or any other node which I do not know the name and content of. Therefore a template using match on nodenames cannot be used. Best, Michael | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
