public static String getNonBlankTextOrFail(Element e) throws ParserException {String v = getText(e);if (null != v)v = v.trim();if (null == v || 0 == v.length()) {throw new ParserException(e.getTagName() + " has no text");}return v;}

public static String getNonBlankTextOrFail ( Element e ) throws ParserException { String v = getText ( e ) ; if ( null != v ) v = v . trim ( ) ; if ( null == v || 0 == v . length ( ) ) { throw new ParserException ( e . getTagName ( ) + " has no text" ) ; } return v ; }
public static string GetNonBlankTextOrFail(XmlElement e){string v = GetText(e);if (null != v)v = v.Trim();if (null == v || 0 == v.Length){throw new ParserException(e.ToString() + " has no text");}return v;}
