Importing XML using XSL

Discussion created by sorrow on Dec 12, 2014
Latest reply on Dec 13, 2014 by beverly



Trying to create an xsl for the importing of this xml file. What the customer wants I am unsure if the xsl can translate correctly for FMP to import.


The 2 pictures are taken from the xml file.


According to the xml there is only 1 record to be imported based on the Batch_HDR level (BatchHDR.PNG). The xsl here works fine for that, but the customer has come back and want to import the 21 records on the BOM level (BOM.png) along with information from the Batch_HDR level. There is at least one other one in this xml file that needs to be done that way. The next one done is the Sequence level, 6 records should be imported into the same file along with Batch_HDR level info.


This seems totally backwards to me, but if it is possible any pointers would be helpful!


Is there a way to do this in the xsl file?