Dani Castaños wrote:
> Hi Nathan!
>
> Thank you for all your help!
> Problem has been fixed...
>
> The thing is, when request is sent, there is a little difference in what
> i get... I get and so on...
> These backslashes make the loadXML not load data properly... I've put an
> str_replace and t
Hi Nathan!
Thank you for all your help!
Problem has been fixed...
The thing is, when request is sent, there is a little difference in what
i get... I get and so on...
These backslashes make the loadXML not load data properly... I've put an
str_replace and the problem has been solved
Again..
that is expected behavior. some of the internal classes dont define
any member variables that the php language has access to. obviously
they are storing data internally, said variables just arent accessible as
member variables of the class thats being defined.
Ok! Thank you for this info...
On Dec 11, 2007 3:52 AM, Dani Castaños <[EMAIL PROTECTED]> wrote:
> If i use your script like this:
>
> $xml = '
>
> 1197027955_8310
> OK
> 200
>
> ';
>
> $obj = new DOMDocument();
> $obj->loadXML( $xml );
>
> echo print_r( $obj, true );
> echo $obj->saveXML() . PHP_EOL;
>
> The first statem
If i use your script like this:
$xml = '
1197027955_8310
OK
200
';
$obj = new DOMDocument();
$obj->loadXML( $xml );
echo print_r( $obj, true );
echo $obj->saveXML() . PHP_EOL;
The first statement writes:
DOMDocument Object
(
)
The second:
1197027955_8310
OK
200
It's just the xm
esource should be encoded by utf-8 charset, right or
wrong ?
My OS : win2000 , simplified chinese. Dose the OS blight "DOMDocument" ?
> -Original Message-
> From: Nathan Nobbe [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 11, 2007 1:25 AM
> To: Dani Castaños
>
On Dec 10, 2007 12:08 PM, Dani Castaños <[EMAIL PROTECTED]> wrote:
> Yep, it works when i do saveXML, but not on loadXML step...
did the loadXML() method work in the test script i sent over in my last
post?
if it does then something else is going on when loadXML() is called in the
context
of you
Yep, it works when i do saveXML, but not on loadXML step...
The thing is... i'm trying to do something like this:
$request = $_POST['xml'];
$logger->debug( 'New ticket request' );
/**
* Parse XML request to obtain values
*/
$xml = new DOMDocument();
//$xml->validateOnParse = true;
$xml->loadXML
On Dec 10, 2007 11:40 AM, Dani Castaños <[EMAIL PROTECTED]> wrote:
> I've checked $request previously and is not empty... it has something
> like:
>
>
>
> 1197026188_ec76
> KO
> 500
> Internal Server Error
>
>
have you been testing this in the context of your application, or have you
also
I've checked $request previously and is not empty... it has something like:
1197026188_ec76
KO
500
Internal Server Error
The curious thing is that I've built this xml string with DOMDocument in
my request... Then I suppose my Linux system has DOM support,
Nathan Nobbe escribió:
On Dec
On Dec 10, 2007 4:48 AM, Dani Castaños <[EMAIL PROTECTED]> wrote:
> Hi list!
>
> I have a problem with DOMDocument loadXML method. I used Windows to
> develop my applications, and nothing happens on it when i do something
> like
>
> $xml = new DOMDocument();
> $xml->loadXML( $request );
>
> Obviou
11 matches
Mail list logo