• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Urgent : Read/Parse XML Schema into DOM strcurure

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
My goal is to take an XML Schema, and extract the main structure from it, and represent it as XML.
I can do this with XSLT for simple examples, but examples that include files from other locations requires parsing of the file first, to get the external schema content.
So, I need a parser that will allow me to transform the schema into a DOM structure that I can walk over, then apply my XSLT.
I hve looked at Castor's schema parser, but the SchemaWriter is not fully supported.
Xerces4J only deals with Abstract Schemas etc
Does anyone know of an API that will help me do this in Java??
Thanks in advance,
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic