QName qname,
AttributesImpl attrs,
SerializationContext context) throws Exception {
StringWriter writer = new StringWriter();
SerializationContext attributeContext = new AttributeSerializationContextImpl(writer, context);
attributeContext.serialize(qname,
null,
propValue, propValue.getClass());
writer.close();
String propString = writer.getBuffer().toString();
String namespace = qname.getNamespaceURI();