• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

How to get element names from schema

Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I hope I'm posting in the right section, and I hope someone can point me in the right direction with this.

I have the following XML schema:

and I have loaded this into an XMLSchema object from the Oracle XDK.
I can use this to validate DOMParser objects also from the Oracle XDK, and all is working well.

What I would like to do now though is be able to iterate through / enumerate the element names in the schema. So, from the above schema, I would like to produce a list of COUNTRY, ISSUEDATETIME, LOCATION, IVRCODE, and ENUMEQUIP
Can I work out how to do this ? Can I 'eck !

Any help with this would be very much appreciated !

[ April 18, 2006: Message edited by: Nathan Russell ]
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic