From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,WEIRD_QUOTING autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,514e1152685173b8 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Using Quotes in Quotes (if you see what I mean Date: Thu, 04 Aug 2011 19:47:03 +0200 Organization: A noiseless patient Spider Message-ID: References: <3fee0724-877d-408e-b99b-75c096438fe1@l37g2000yqd.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 4 Aug 2011 17:47:03 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="cJo7kSTQUrCFv2/D8KKtqw"; logging-data="12735"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/uuANHGGGduk0wnnAyhy+H" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 In-Reply-To: <3fee0724-877d-408e-b99b-75c096438fe1@l37g2000yqd.googlegroups.com> Cancel-Lock: sha1:vw0N4TCNKdgOV6wRQNrt1CXX2H8= Xref: g2news1.google.com comp.lang.ada:20468 Date: 2011-08-04T19:47:03+02:00 List-Id: Le 04/08/2011 18:28, tonyg a �crit : > > I'm playing with some xml in ada. I want to use "d="3"" but > unfortunately the 3 is not contained (according to ada) within the > string. Is there a nice quick dirty solution I can use here ? There is a nice quick clean solution: quotes in strings must be doubled: "d=""3""" -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Adalog a d�m�nag� / Adalog has moved: 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00