commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michelle Lin <mch...@yahoo.com>
Subject How to parse an attribute whoes value is a QName
Date Fri, 03 Mar 2006 02:16:58 GMT
Digester Experts:

I have the following simple XML doc:

<?xml version="1.0" encoding="ASCII"?>
<xyz xmlns="http://mynamespace"               
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <property name="a" type="xsd:string"/>
</xyz>

How can I use the digester to parse this XML doc and
get the value of "type" attribute as QName of:
namespace: "http://www.w3.org/2001/XMLSchema"
prefix: "xsd"
localPart: "string"

Any suggestions/pointers are very much appreciated.

Thanks,

- michelle

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message