RE: [U2] XML Schema

2009-03-13 Thread Symeon Breen
If you want to write an xsd then i would use an xsd authoring tool or just
plain old notepad

If you want to generate an xsd from an xml then again there are authoring
tools that will do this (including visual studio) - there is no function in
databasic to do this ( i don't think i may be wrong tho ...).

However you can get the sql select , uniquery list command or the unibasic
XMLEXECUTE commands to generate a DTD for the xml they produce.


Rgds
Symeon

-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Jaweed
Sent: 13 March 2009 14:43
To: u2-users@listserver.u2ug.org
Subject: [U2] XML Schema

Does anybody knows how to build XML Schema in Unibasic.

 

Thanks and appreciate.

Jaweed
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] XML Schema

2009-03-13 Thread Michael Rajkowski
Note that SQL and U2 Query statements ( LIST and SORT ) both allow you to
generate a schema.  'WITHSCHEMA' at the end of the command line will add
the schema to the document.  When used with the TO clause it will go to
the _XML_/XML directory.

Please look in the Basic Extensions Manual for more information.


Michael Rajkowski
SWG Client Support - Information Management Software
Software Engineer ? IBM U2 Client Support Team
1-800-729-3553
mraj...@us.ibm.com


















Symeon Breen syme...@gmail.com
Sent by: owner-u2-us...@listserver.u2ug.org
03/13/2009 09:29 AM
Please respond to
u2-users@listserver.u2ug.org


To
u2-users@listserver.u2ug.org
cc

Subject
RE: [U2] XML Schema






If you want to write an xsd then i would use an xsd authoring tool or just
plain old notepad

If you want to generate an xsd from an xml then again there are authoring
tools that will do this (including visual studio) - there is no function
in
databasic to do this ( i don't think i may be wrong tho ...).

However you can get the sql select , uniquery list command or the unibasic
XMLEXECUTE commands to generate a DTD for the xml they produce.


Rgds
Symeon

-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Jaweed
Sent: 13 March 2009 14:43
To: u2-users@listserver.u2ug.org
Subject: [U2] XML Schema

Does anybody knows how to build XML Schema in Unibasic.



Thanks and appreciate.

Jaweed
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

[demime 1.01d removed an attachment of type image/gif]

[demime 1.01d removed an attachment of type image/gif]

[demime 1.01d removed an attachment of type image/jpeg]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] XML Schema

2009-03-13 Thread Tony G
Visual Studio comes with a command-line command called xsd that
will generate an XSD from XML.  If you do not have VS you can
download this in the Windows SDK v6.0A.

It should be quite straight-forward to write XML to a Dir (type
1/19), execute xsd, then read the result.  If you are on *nix,
you can write to a Samba share or equivalent, pump the xsd
request to Windows using any mechanism you choose, and again read
the result.

HTH

Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
Nebula RD sells mv.NET and other Pick/MultiValue products
worldwide, and provides related development services


 From: Symeon Breen
 If you want to generate an xsd from an xml then again 
 there are authoring tools that will do this (including 
 visual studio) - there is no function in databasic to 
 do this ( i don't think i may be wrong tho ...).

 From: Jaweed
 Does anybody knows how to build XML Schema in Unibasic.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/