Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - xslt merging question >Thread Next - Re: xslt merging question Re: xslt merging questionTo: NULL Date: 11/1/2005 2:00:00 PM rottyguy70@y... wrote: > 1) assume i have a static mapping: > > a -> 1 > b -> 2 > c -> 3 > > 2) i need to read through some data, let's say set [g, i, j] and create > a new (joined/merged) mapping: > > a -> 1 > b -> 2 > c -> 3 > g -> 4 > i -> 5 > j -> 6 > i understand how to do 1 & 3 but not sure of how i can do 2. is there > a way to merge or create a new mapping/node-set based on 2 (or more) > maps/sets? If you are looking for an XSLT solution it would ease our task to understand what you are looking for if you presented XML markup as the possible input and output and not some other notation. XSLT 1.0 has the function named document to load additional XML documents and process them so merging is certainly possible: <http://www.w3.org/TR/xslt#document> -- Martin Honnen http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
