dependsOn determines if the input element (inElt) depends on the target namespace (inNS),
i.e. if inElt has a relationship with any element belonging to the target namespace.
createPackageHierarchy takes as an input a qualified name like 'model::package1::package2::namedelement'
and will generate under the specified root package (inRootPkg) the following package hierarchy:
(root package)
.....package1
..........package2
The 'model' prefix in the qualified name is ignored, as well as the 'namedelement' suffix.