Bugs item #3212075, was opened at 2011-03-14 21:59
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=3212075&group_id=129076
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: API
Group: Sedna (current)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: PHP API. Function sedna_result_array.
Initial Comment:
Hello
test.xml:
<?xml version="1.0" standalone="yes"?>
<root>
<a title="a"/>
<a title="b"/>
<a title="c"/>
<a title="d"/>
</root>
test.php:
<?php
#
$c = sedna_connect('test', 'test', 'SYSTEM', 'MANAGER');
#
sedna_execute($c, 'declare option se:output "indent=no"; document("test.xml",
"test")/root/a/data(@title)');
#
$r = sedna_result_array($c);
#
foreach($r as $v)
{
echo("=$v=\n");
}
?>
result:
=a=
= b=
= c=
= d=
print_r($r) show:
Array
(
[0] => a
[1] => b
[2] => c
[3] => d
)
How remove space in result? )
--
Vitaliy
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=3212075&group_id=129076
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion