[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Question about Altova XML Spy

Subject: Re: Question about Altova XML Spy
From: meenakshi n <mina_hurray@xxxxxxxxx>
Date: Sun, 15 Oct 2006 07:31:24 -0700 (PDT)
xmlspy generate sample xml
Hi all:

Thank you for all your advice. The issue I am facing
is that XML Spy is generating the sample XML only for
a part of the Schema and not for the entire schema. Is
there any way the XML can be generated for the entire
schema?

--- "CyberSpace Industries 2000 Inc."
<csi2000@xxxxxxxxxxxxxxx> wrote:

> You are in the right place in XML Spy  - the help
> file has the following
> with regards to options available to you re
> generating output.
> 
> -----------------
> The DTD/Schema | Generate Sample XML File... command
> generates an XML file
> based on the currently active schema (DTD or XML
> Schema) in the main window.
> 
> The options listed in the pop-up window are:
> 
> Generate non-mandatory attributes - Activating this
> option generates not 
> only mandatory attributes, but also the
> non-mandatory attributes, defined in 
> the schema.
> 
> Generate non-mandatory elements - Activating this
> option generates not only 
> mandatory, but also non-mandatory elements, defined
> in the schema.
> 
> Generate first choice of mandatory choice -
> Activating this option 
> generates/inserts the first choice of a mandatory
> choice.
> 
> Generate X elements if marked repeatable in
> Schema/DTD - Activating this 
> option generates the number of repeatable elements
> you enter in the text 
> box.
> 
> Fill elements and attributes with data - Activating
> this option inserts the 
> data type descriptors/values for the respective
> elements/attributes. For 
> example: Boolean = 1, xsd:string = string, Max/Min
> inclusive = the value 
> defined in the schema.
> ----------------------
> You should also be aware that for a particular
> DTD/Schema it may not be
> possible to generate all elements within a sinlge
> instance.  For example if
> you had
> 
> <!ELEMENT branch  (x | y) >
> 
> then branch could contain 'x' or 'y' but never both
> in a single instance.
> 
> From your message, it may be your problem is
> entirely associated with
> imported schemas... which I know very little about
> in a XML Spy context.
> 
> Cheers...Hugh
> 
> Cyberspace Industries 2000 Inc.
> XML Training and Consulting.
> 
> 
> ----- Original Message ----- 
> From: "meenakshi n" <mina_hurray@xxxxxxxxx>
> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Friday, October 13, 2006 3:59 PM
> Subject:  Question about Altova XML Spy
> 
> 
> > Hi All:
> >
> > I am sorry I do not know if this is the right
> forum
> > for this question. I have a question about XML
> Spy.
> >
> > I have Altova XML Spy 2005 Enterprise Edition. I
> would
> > like to know if it is possible to generate an XML
> from
> > the Schema using Spy. I tried using Generate XML
> > option, but it does not include all the elements
> and
> > imported schemas in the XML content. How do I make
> it
> > include everything?
> >
> > If this is not the right forum, can anyone please
> > direct me to the right forum for this question?
> >
> > Thank you
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> 
> 


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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.