Thanks Michael, Ed Wax earlier indicated also to obtain the name from the attr decl interface -thanks again.......
Scott ------------ Scott R. Hinkelman, Senior Software Engineer IBM Software Group / Emerging Technologies Cross-Industry SOA Foundation Standards Strategy Office: 512.823.8097 (TL 793.8097) Cell: 512.415.8490 Michael Glavassevich <[EMAIL PROTECTED] To com> j-users@xerces.apache.org) cc 03/01/2007 08:37 PM Subject Re: obtaining an attribute name using the xs package Please respond [EMAIL PROTECTED] apache.org Hi Scott, You want to call getName() on the XSAttributeDeclaration. You're currently printing out the name (i.e. xs:token) of its [type definition]. Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED]: [EMAIL PROTECTED] Hinkelman <[EMAIL PROTECTED]> wrote on 03/01/2007 03:29:23 PM: > Hi, > I am learning and trying to process, or print out for my > understanding, the following simple schema contain 1 complex type > with 1 attribute. My problem is I have yet to be able to print out > the name, "languageLocaleID", of the attribute. > > <?xml version="1.0" encoding="UTF-8"?> > <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cct="