Re: How do I implement a .XSD in Postgres?

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How do I implement a .XSD in Postgres?
Date: 2016-01-01 18:05:39
Message-ID: n66f5n$f05$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

ERR ORR schrieb am 01.01.2016 um 11:07:
> I need to import some DB schemas which are defined in .XSD (a XML derivative) format.
> I've googled about this but have found no satisfactory answer. Perhaps I just don't know what exactly to ask Google.
>
> So please:
> - What tool can I use in order to import .XSD schema definitions into Postgresql 9.4.5?
> - If there is no tool, can you please direct me to a document at least hinting at how to import a .XSD schema into a DB?
>

If indeed you just want to convert the XSD to a SQL script (that contains the approriate CREATE TABLE statements),
then this can be done using XSLT as an XSD is just XML after all.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Charles Clavadetscher 2016-01-01 19:34:34 Re: How do I implement a .XSD in Postgres?
Previous Message David G. Johnston 2016-01-01 18:01:41 Re: How do I implement a .XSD in Postgres?