Bugs item #3212075, was opened at 2011-03-15 00:59
Message generated for change (Comment added) made by shcheklein
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: Closed
>Resolution: Duplicate
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Ivan Shcheklein (shcheklein)
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

----------------------------------------------------------------------

>Comment By: Ivan Shcheklein (shcheklein)
Date: 2011-03-15 14:27

Message:
This is the same problem as #2834658:
https://sourceforge.net/tracker/?func=detail&aid=2834658&group_id=129076&atid=713730
. I'll try to make workaround for protocol 3 in a week or two. Meanwhile,
you should filter that spaces on the application level.

----------------------------------------------------------------------

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

Reply via email to