In XML, elements have no ordering by definition. Some schemas tend to purscribe an ordering, but frankly, you shouldn't rely on it. So how the data is ordered in a signed xml file is IMHO not important.
We just sign the xml with the private part of a strong key, which is a well-documented procedure. Where the signature element is placed isn't what we tried to control, so I don't know if there's any advantage of having it at a given spot. If you want to read the license info, simply use an XPath to obtain the license element, or whatever element you have inside the xml