Re: [SQL] get attribute from XML

2010-10-11 Thread Markus Schatten
Dear Viktor, 'modified' is an attribute node, so you need to use the @ sign to acquire its value: mschatte=# select xpath( '//entry/@modified', '' ); xpath -- {2009-07-07} (1 row) HTH M.S. On Tue, Oct 12, 2010 at 1:03 AM, Viktor Bojović wrote: > Hi, > while parsing this type

[SQL] plpythonu + os.spawnv

2008-03-07 Thread Markus Schatten
e ) return str( results ) $$ LANGUAGE plpythonu; The funny thing is that the same code (as said before) works fine when called from a Python environment so my question is (if I'm not missing something in the code) is there a difference in handling spawned processes in plpthonu an

Re: [SQL] plpythonu + os.spawnv

2008-03-08 Thread Markus Schatten
Dear all, I was right about posting to the wrong place ;) The error was that a folder in the path to XSB (that is called from FLORA) wasn't chmoded in the right way. Thanks anyway ;) Best regards -- Markus Schatten, MSc Faculty of Organization and Informatics Varaždin, Croatia e-mail: [

[SQL] Creating input/output_functions

2008-11-07 Thread Markus Schatten
Is there a way to create custom type input/output functions for user-defined types in some other language except C (e.g. plythonu)? Best regards -- Markus Schatten, MSc Faculty of Organization and Informatics Varaždin, Croatia http://autopoiesis.foi.hr -- Ova poruka poslana je s