I actually figured out what I need to do. I can use the DatatypeConverter class from SUNs jwsd
http://java.sun.com/webservices/docs/1.2/api/javax/xml/bind/DatatypeConverter.html to convert the string to the required type. -----Original Message----- From: ext [mailto:[EMAIL PROTECTED] Sent: Friday, 05. March 2004 14:11 To: [EMAIL PROTECTED] Subject: [Digester] Can I treat attributes as other values than strings? I'm trying to figure out if I can treat attribute values as non-string values. I have a schema that contains an attribute definition as follows: <xs:attribute name="encryptedData" type="xs:base64Binary" use="optional"/> I would like to make use of the standard Java - XML mapping (as defined in JAX-RPC documentation). Here the base64Binary type is mapped to byte[]. Is there any way I can use these types with digester? Thanks, Olaf --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
