OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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@oracle.com] 
> Sent: Thursday, April 26, 2001 6:03 AM
> To: sabba
> Cc: xml-dev@lists.xml.org
> 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@vb2themax.com
> > 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@lists.xml.org
>