MySQL Forums
Forum List  »  Connector/Node.js

extractvalue issue
Posted by: Anoop Sharda
Date: January 24, 2009 01:32AM


we have the following xml structure

<title>Choosing an Install Package</title>
<para>...three different packages...</para>
<listitem id=”1”>
<para><literal></literal>: ...Zip archive....</para>
<listitem id=”full”>
<para><literal></literal>: ...full installation with all optional packages...</para>
<listitem id=”essential”>
<para><literal></literal>: ...minimum components...</para>
<para> is recommended...because of its smaller size.</para>

When we give following query, no value is returned, we just get blank rows.

select extractValue(test, '/section/itemizedlist/listitem[@id="1"]/para/literal') from testdb

is there something we are doing wrong?


Options: ReplyQuote

Written By
extractvalue issue
January 24, 2009 01:32AM
February 18, 2009 01:08AM

Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

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.