Code example for Attr

Methods: getNodeValue

0
                    result.setExcludeComments(true);
                } 
 
                result.setMIMEType("text/xml");
                if (baseURI != null && baseURI.length() > 0) {
                    result.setSourceURI(baseURI.concat(uriAttr.getNodeValue()));
                } else { 
                    result.setSourceURI(uriAttr.getNodeValue());
                } 
                return new ApacheNodeSetData(result);
            } 
        } 
 
        try { 
            ResourceResolver apacheResolver =
                ResourceResolver.getInstance(uriAttr, baseURI, secVal);
            XMLSignatureInput in = apacheResolver.resolve(uriAttr, baseURI);
            if (in.isOctetStream()) {
                return new ApacheOctetStreamData(in);
            } else { 
                return new ApacheNodeSetData(in);