MySQL Forums
Forum List  »  Connector/Node.js

importing xml to mysql 5.1.32
Posted by: Kent Bengtsson
Date: March 17, 2009 08:41PM

Hi all,

I had this code:

set @xxx :=load_file ('blabla/p.xml');

insert into Sessions values (

extractValue (@xxx, '/session/@sessioncode'),
extractValue (@xxx, '/session/general/mode')
);

Everything worked fine on my linux server and then i installed mysql server 5.1.32 in windows and tried to run the query, but something is wrong. This code now only reports Null values. Can someone explain why?

Options: ReplyQuote


Subject
Written By
Posted
importing xml to mysql 5.1.32
March 17, 2009 08:41PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.