Posted: Tue Aug 30, 2005 3:55 am Post subject: problem in getting correct xml tag sequence
Novice
Joined: 25 Jun 2005 Posts: 22
Hi,
I am trying to build XML as below:
<A><B>1</B></A><A><B>2</B></A><A><B>3</B></A>
When i use the following in my ESQL its giving error.
SET OutputRoot.XML."A"[1]."B"[1] = 1;
SET OutputRoot.XML."A"[2]."B"[2] = 2;
SET OutputRoot.XML."A"[3]."B"[3] = 3;
-------------------------------------------------
When I use the following
SET OutputRoot.XML."A"."B"[1] = 1;
SET OutputRoot.XML."A"."B"[2] = 2;
SET OutputRoot.XML."A"."B"[3] = 3;
It produces the XML as below:
<A><B>1</B><B>2</B><B>3</B></A>
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum