code: private String rawAttributeText(XMLStreamReader reader, String attributeName)
     {
        String attributeString = reader.getAttributeValue("", attributeName);
  
        if (attributeString == null)
           return null;
  
        return attributeString.trim();
     }
docs: Read the raw attribute
  
  @param reader
  @param attributeName
  @return the string representing raw attribute textx