pgxml 1.0 released

Поиск
Список
Период
Сортировка
От Jeroen van Vianen
Тема pgxml 1.0 released
Дата
Msg-id 4.1.19991011203846.00934dd0@mail.design.nl
обсуждение исходный текст
Список pgsql-general
Hi,

I'd like to announce the release of pgxml 1.0, a tool which outputs
PostgreSQL queries in XML format.

Here's a small example:

Run

    pgxml -d books -c "select * from books" \
        -t library,book -s books.css -o books.xml

The output might look like this

    <?xml version="1.0"?>
    <?xml-stylesheet href="books.css"type="text/css"?>
    <!-- Generated by pgxml 1.0 -->
    <!DOCTYPE library [
    <!ELEMENT library (book)*>
    <!ELEMENT book (id?, title?, author?)>
    <!ELEMENT id (#PCDATA)>
    <!ELEMENT title (#PCDATA)>
    <!ELEMENT author (#PCDATA)>
    ]>
    <library>
    <book>
    <id>1</id>
    <title>Hitchhiker's Guide to the Galaxy</title>
    <author>Douglas Adams</author>
    </book>
    [...]
    <book>
    <id>4</id>
    <title>The C Programming Language</title>
    <author>Brian W. Kernighan and Dennis M. Ritchie</author>
    </book>
    </library>

Check it out at http://www.morinel.demon.nl/pgxml or download it from
http://www.morinel.demon.nl/pgxml/pgxml-1.0.tar.gz.

As my website uses stylesheets, it is best viewed with Mozilla or IE 5 :-(

Cheers,

Jeroen

В списке pgsql-general по дате отправления:

Предыдущее
От: "Max J. Tsai"
Дата:
Сообщение: ...
Следующее
От: "Oleg A. Kolodin"
Дата:
Сообщение: createdb in alternate location