SPLIT XML
Posted: Mon Mar 25, 2024 5:49 pm
HI Gus
I have looked through a few other Posts/Topics but still very unfamiliar with XSLT Transform
Example of Simple XML
<?xml version="1.0" encoding="UTF-8"?>
<CODES>
<CARDCODE>552400-0-1</CARDCODE>
<CARDCODE>553204-0-1</CARDCODE>
<CARDCODE>561370-0-1</CARDCODE>
<CARDCODE>561371-0-1</CARDCODE>
<CARDCODE>561373-0-1</CARDCODE>
<CARDCODE>562568-0-1</CARDCODE>
<CARDCODE>562580-0-1</CARDCODE>
</CODES>
I really need to split this into individual XMLs files with each CARDCODE listed in each File, filenames can be the CARDCODE or Just a number
I know you'll help me out
Thanks in advance
Mark
I have looked through a few other Posts/Topics but still very unfamiliar with XSLT Transform
Example of Simple XML
<?xml version="1.0" encoding="UTF-8"?>
<CODES>
<CARDCODE>552400-0-1</CARDCODE>
<CARDCODE>553204-0-1</CARDCODE>
<CARDCODE>561370-0-1</CARDCODE>
<CARDCODE>561371-0-1</CARDCODE>
<CARDCODE>561373-0-1</CARDCODE>
<CARDCODE>562568-0-1</CARDCODE>
<CARDCODE>562580-0-1</CARDCODE>
</CODES>
I really need to split this into individual XMLs files with each CARDCODE listed in each File, filenames can be the CARDCODE or Just a number
I know you'll help me out
Thanks in advance
Mark