How to generate (invalid) Xml from Schema?

Discussion in 'XML' started by chipk, Jun 28, 2010.

  1. chipk

    chipk

    Joined:
    Jun 28, 2010
    Messages:
    1
    I would like to generate an Xml document from its schema in which at least one element is generated from each type definition. Specifically, for example, when a "choice" compositor is encountered all the choice elements are generated.

    This of course will generate an invalid xml document but it will contain an example element correpsonding to each element that the scehma defines.

    The generated document will then be processed as part of a data mappng project.

    Any ideas on how to generate an (invalid) xml document from a schema which contains at least one element representative of all defined types?
    chipk, Jun 28, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Raj
    Replies:
    0
    Views:
    2,611
  2. Markus
    Replies:
    1
    Views:
    1,528
    Markus
    Nov 23, 2005
  3. Stanimir Stamenkov
    Replies:
    3
    Views:
    1,248
    Stanimir Stamenkov
    Apr 25, 2005
  4. asciz@starmail.com
    Replies:
    3
    Views:
    2,831
    asciz@starmail.com
    Feb 20, 2007
  5. Matt
    Replies:
    3
    Views:
    340
    Bob Barrows [MVP]
    Apr 23, 2004
Loading...

Share This Page