![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: How to use XSLT to transform XML according to the data in another XML How to use XSLT to transform XML according to the data in another XMLTo: NULL Date: 2/2/2005 8:59:00 AM I have a XML containing more information than required. And I want to transform it to a XML with less information according to the requirement data in another XML. How could I accomplish this using XSLT? Here're the XML files: source.xml : <AllFields> <field name="f1", type="N">value1</field> <field name="f2", type="N">value2</field> <field name="f3", type="N">value3</field> <field name="f4", type="N">value4</field> ... </AllFields> requirement.xml : <requiredFields> <field>f1</field> <field>f3</field> </requiredFields> result.xml : <AllFields> <field name="f1", type="N">value1</field> <field name="f3", type="N">value3</field> </AllFields> Thanks in advance! | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
