N
Nikolay Pavlov
--nextPart1407253.yNRC0Cy0Rg
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hello all.
I have this XML output:
<response>
<num></num>
<token></token>
<operation id=3D"some id" sid=3D"some sid">
<trans></trans>
<data></data>
</operation>
<operation id=3D"other id" sid=3D"other sid"
<trans></trans>
<data></data>
</operation>
...
</response>
Could someone point me to the way on how i can get construction like this=20
one from the XML above:
{:num =3D> value,=20
:token =3D> value,=20
peration =3D> [{:id =3D> value,=20
:sid =3D> value,
:trans =3D> value,=20
:data =3D> value }, =20
{:id =3D> value,
:sid =3D> value,
:trans =3D> value,
:data =3D> value}]
}
The initial hash part was trivial for me, but while i am thinking about an=
=20
array part my brain says me "stack level too deep"
=2D-=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
=2D Best regards, Nikolay Pavlov. <<<----------------------------------- =
=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
--nextPart1407253.yNRC0Cy0Rg
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQBG3DuI/2R6KvEYGaIRAozkAKDuEWQ9tykVxCwPhq3IqiuNErAVVgCfQbwa
SstAdQvzg7qumGtKqDVBdm8=
=JyM2
-----END PGP SIGNATURE-----
--nextPart1407253.yNRC0Cy0Rg--
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hello all.
I have this XML output:
<response>
<num></num>
<token></token>
<operation id=3D"some id" sid=3D"some sid">
<trans></trans>
<data></data>
</operation>
<operation id=3D"other id" sid=3D"other sid"
<trans></trans>
<data></data>
</operation>
...
</response>
Could someone point me to the way on how i can get construction like this=20
one from the XML above:
{:num =3D> value,=20
:token =3D> value,=20
peration =3D> [{:id =3D> value,=20
:sid =3D> value,
:trans =3D> value,=20
:data =3D> value }, =20
{:id =3D> value,
:sid =3D> value,
:trans =3D> value,
:data =3D> value}]
}
The initial hash part was trivial for me, but while i am thinking about an=
=20
array part my brain says me "stack level too deep"
=2D-=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
=2D Best regards, Nikolay Pavlov. <<<----------------------------------- =
=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20
--nextPart1407253.yNRC0Cy0Rg
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQBG3DuI/2R6KvEYGaIRAozkAKDuEWQ9tykVxCwPhq3IqiuNErAVVgCfQbwa
SstAdQvzg7qumGtKqDVBdm8=
=JyM2
-----END PGP SIGNATURE-----
--nextPart1407253.yNRC0Cy0Rg--