List<IMXMLNode> children = new ArrayList<IMXMLNode>();
for (IMXMLUnitData unit : contentUnits)
{
if (unit instanceof IMXMLTagData)
{
IMXMLTagData tag = (IMXMLTagData)unit;
// While it is normally illegal to put
// script tags in an array, a default property
// tag sequence can contain script nodes which need
// to be children of the implicit array node to
// keep the tree in file offset order.