From: Simon Wright <simon@pushface.org>
Subject: Re: xml/ada dropping data when pre-defined entities are separated by space?
Date: Sat, 29 Jan 2011 22:24:20 +0000
Date: 2011-01-29T22:24:20+00:00 [thread overview]
Message-ID: <m2ei7v2vsb.fsf@pushface.org> (raw)
In-Reply-To: 5e91567e-883f-428c-b01e-ee51e91ca30f@o8g2000vbq.googlegroups.com
björn lundin <b.f.lundin@gmail.com> writes:
> On 29 Jan, 18:13, Simon Wright <si...@pushface.org> wrote:
>
>> There are in fact 2 nodes in the first line.
>>
>> Dom.Core.Nodes.Child_Nodes returns a Node_List; look in Dom.Core.Nodes
>> for the Node_List operations Item and Length.
>
> Yes, there it is:-)
> Thanks for the pointer, now i get more what i like
Good!
> Xml_Str1 : String := "<?xml version='1.0' encoding='ISO-8859-1'?>
> <env><Row>";
> xml_str2 : String := "ABC & & DEF</Row><Row>ABC &&
> DEF</Row><Row>ABC _ DEF</Row></env>";
> Xml_Str : String := xml_str1 & Xml_Str2;
Just a thought, this style might make things easier to read/get right...
Xml_Str : constant String :=
"<?xml version='1.0' encoding='ISO-8859-1'?>"
& "<env>"
& "<Row>ABC & & DEF</Row>"
& "<Row>ABC && DEF</Row>"
& "<Row>ABC _ DEF</Row>"
& "</env>";
next prev parent reply other threads:[~2011-01-29 22:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-27 10:06 xml/ada dropping data when pre-defined entities are separated by space? björn lundin
2011-01-27 11:12 ` Georg Bauhaus
2011-01-29 15:36 ` björn lundin
2011-01-29 17:13 ` Simon Wright
2011-01-29 21:49 ` björn lundin
2011-01-29 22:24 ` Simon Wright [this message]
2011-01-31 0:22 ` Georg Bauhaus
2011-01-31 8:04 ` björn lundin
2011-01-31 14:56 ` Emmanuel Briot
2011-01-31 20:17 ` björn lundin
2011-02-01 9:49 ` björn lundin
2011-02-01 18:24 ` Vadim Godunko
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox