[Home] [By Thread] [By Date] [Recent Entries]

  • From: sabba <sabbadin@i...>
  • To: Michael Rys <mrys@m...>, Jurgen <jurgen.moortgat@o...>
  • Date: Thu, 26 Apr 2001 18:18:03 +0200

micheal, thank for your answer.
actually what i need is a skeleton generator.
that is, infer an instance from a schema.
humm ..:( i do not wnat to write this stuff :(

Enrico Sabbadin: esabbadin@v...
http://www.sabbasoft.com
MTS/COM+ / VB-COM FAQ: http://www.sabbasoft.com/mts_faq.htm


----- Original Message ----- 
From: "Michael Rys" <mrys@m...>
To: "Jurgen" <jurgen.moortgat@o...>; "sabba" <sabbadin@i...>
Cc: <xml-dev@l...>
Sent: Thursday, April 26, 2001 5:59 PM
Subject: RE: CreateNewInstance" from xml(Schema)


Jurgen, I don't think that this is what Enrico is looking for.

What he wants is a document instance generator that given a schema
generates valid instances for that schema.

The closest thing that I am aware of is the annotated schema mechanism
of SQLServer, where you take a schema, annotate it against the database
tables and then use XPath expressions to get XML out according to the
schema. 

Enrico, what I find missing in your description is where the data that
will form the new document instance will come from. If from a database,
the approach above should be what you are looking for, if random of if
you just want a skeleton, you would have to write your own application,
as far as I know. 

HTH
Michael

> -----Original Message-----
> From: Jurgen [mailto:jurgen.moortgat@o...] 
> Sent: Thursday, April 26, 2001 6:03 AM
> To: sabba
> Cc: xml-dev@l...
> Subject: Re: CreateNewInstance" from xml(Schema)
> 
> 
> 
> hi,
> 
> Oracle's XSQL Servlet Framework does exactly what you want:
> 
> An XML Document containing an SQL Query is send to a 
> (servlet enabled) web server to handle the request.
> 
> The output is an XML Document containg the result of the
> SQL Query.
> 
> Learn more about it on http://technet.oracle.com
> 
> cheers,
> Jurgen.
> 
> 
> > sabba wrote:
> > 
> > hi,
> > i'm developing a new application that's heavily based on XML. i'm 
> > loading and saving xml document instances from and to database 
> > "without prob".
> > 
> > I'm currently evaluating the best way to implement a "new document" 
> > feature, that is , generate an XML document instance based on some 
> > kind of definition
> > (something like when you make an ado recordset from a "select * from
> > mytable
> > where 1=2" sql statement)
> > i'm considering using an xml-schema document (or a custom 
> XML -schema
> > like-
> > document) and then pass this schema to an XSL document that would
> > output a
> > brand new xml instance document based on the schema
> > Do u thing it's the right approach ?
> > Has someone tryed successfully something similar ?
> > ready made code for this ?
> > suggestions and comments are welcome
> > Enrico Sabbadin: esabbadin@v...
> > http://www.sabbasoft.com
> > MTS/COM+ / VB-COM FAQ: http://www.sabbasoft.com/mts_faq.htm
> >
> 
> ------------------------------------------------------------------
> The xml-dev list is sponsored by XML.org, an initiative of 
> OASIS <http://www.oasis-open.org>
> 
> The list archives are at 
> http://lists.xml.org/archives/xml-dev/
> 
> To unsubscribe from this elist send a message with the single 
> word "unsubscribe" in the body to: xml-dev-request@l...
> 

------------------------------------------------------------------
The xml-dev list is sponsored by XML.org, an initiative of OASIS
<http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: xml-dev-request@l...



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member