From: Colin A. <col...@ho...> - 2007-09-30 17:10:39
|
It sounds to me like the two should be equivalent. Certainly I do not need = a list of lists. But I suppose if people were to supply multiple uses of an= AP_STRING_LIST_OPTION, then this ought to be a list of lists. Is it possib= le to configure an option as not allowing repeats? > Date: Sun, 30 Sep 2007 15:14:49 +0200 > To: col...@ho... > Subject: Re: [gobo-eiffel-develop] AP_STRING_LIST_OPTION? > From: ber...@in... >=20 > On Sun, 30 Sep 2007 09:42:42 +0200, Colin Adams =20 > <col...@ho...> wrote: >=20 > > > > I am in the process of making the XSLT serializer a separate component = =20 > > (although still dependent on the xslt library.xace) , so that other =20 > > programs can make use of the various serialization options offered by = =20 > > XSLT (see http://www.w3.org/TR/xslt20/#element-output). > > > > Although this isn't quite finished yet, I am writing an example program= =20 > > illustrating its usage (it will take an xml file name plus a series of = =20 > > command-line arguments specifying serialization options). naturally I a= m =20 > > using the arguments library. > > > > Now the xsl:output attribute cdata-section-elements takes a list of =20 > > qnames. The natural way to specify this in the example program is: > > > > --cdata-section-elements=3D(qname1,qname2,qname3) > > > > I can do this with an AP_STRING_OPTION and parse the resulting string, = =20 > > but it seems to me it is a reusable pattern and it looks worth creating= =20 > > a class AP_STRING_OPTION_LIST. > > > > Do people agree? >=20 > I agree. I am already deliverying a list of parameters, for the case of = =20 > repeated usage of the opion (--cdata-section-elements=3Dxxx =20 > --cdata-section-elements=3Dyyy). Should the use of comma delimiters be =20 > quivalent, or do we need need to provide a DS_LIST[DS_LIST[STRING]] as =20 > type for `parameters'? >=20 > Bernd >=20 >=20 > --=20 > Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ _________________________________________________________________ Get free emoticon packs and customisation from Windows Live.=20 http://www.pimpmylive.co.uk= |