comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Using Quotes in Quotes (if you see what I mean
Date: Fri, 05 Aug 2011 08:47:02 +0100
Date: 2011-08-05T08:47:02+01:00	[thread overview]
Message-ID: <m239hg47wp.fsf@pushface.org> (raw)
In-Reply-To: 3fee0724-877d-408e-b99b-75c096438fe1@l37g2000yqd.googlegroups.com

tonyg <tonythegair@gmail.com> writes:

> 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 ?

XML allows either single or double quotes, so

  <foo d="3"/>

and

  <foo d='3'/>

and for that matter

  <foo d = '3'/>

are semantically identical.

Have you looked at XML/Ada? http://libre.adacore.com/libre/tools/xmlada/



      parent reply	other threads:[~2011-08-05  7:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-04 16:28 Using Quotes in Quotes (if you see what I mean tonyg
2011-08-04 17:47 ` J-P. Rosen
2011-08-04 17:52   ` Jeffrey Carter
2011-08-04 20:12 ` Ludovic Brenta
2011-08-05  7:47 ` Simon Wright [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox