It seems not trivial to acheive what I wanted so I have decided to move on to get a grip of the smarty object that is also around but after the blackbox of scripts has run instead of before. This obejct can be parsed and is generic enough for my purposes.
Thanks for your time and suggestions. / Axe -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql