I'm using xindice and one of the attributes it puts o the root element is a attribute src:key but when i tried to get that value String strBuff = docXML.getRootElement() .getAttribute( "src:key" ) .getValue(); Returns an exception java.lang.NullPointerException error. Any ideas? Thanks -- netizen mailto:netizen.mail at attbi.com