Example
An Employees XML file has employee records with all the details of employees.
In the fragment XML criteria, the <Employee> element name is used to split the original XML into smaller fragments.
Original XML
<?xml version="1.0" encoding="ISO-8859-1"?> <Employees> <Employee> <name>Josephine Foller</name> <department>Marketing</department> <country>USA</country> <employ-type>Permanent</employ-type> <year>1985</year> </Employee> <Employee> ............. ............. </Employee> </Employees>
Fragment XML
<?xml version="1.0" encoding="ISO-8859-1"?> <Employees> <Employee> <name>Josephine Foller</name> <department>Marketing</department> <country>USA</country> <employ-type>Permanent</employ-type> <year>1985</year> </Employee> </Employees>
Copyright © Cloud Software Group, Inc. All rights reserved.
