protected NodeList getTagChildren ( String tagName , Element element ) { return element . getNamespaceURI ( ) == null ? element . getElementsByTagName ( tagName ) : element . getElementsByTagNameNS ( element . getNamespaceURI ( ) , tagName ) ; }
Returns the children under the specified tag . Compensates for namespace usage .