Re: Converting xml to table with optional elements

From: "Andrus" <kobruleht2(at)hot(dot)ee>
To: "David Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Converting xml to table with optional elements
Date: 2014-11-28 17:47:46
Message-ID: 87B7824FF05A40F7B0394C9E8CA14942@dell2
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi!

Thank you.

>Instead of defining an xpath for fields define one that captures the xml
>pertaining to the data that would belong to
>a single record.How to create single xpath or xsl which assigns values to all columns in
>Postgres table ?
I havent found such sample. Samples which I have found create every column
separately using separate xpath.

Andrus

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Johnston 2014-11-28 18:03:42 Re: Converting xml to table with optional elements
Previous Message Adrian Klaver 2014-11-28 17:37:51 Re: PG94RC1- plv8 functions - problem with input parameter length