From: Josh Knowles Date: 2006-03-24T08:22:51+09:00 Subject: Re: using builder to make jnlp xml elements with "-" in name? ------=_Part_7051_2638651.1143156154836 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 3/23/06, Stephen Bannasch wrote: > > ... > > x.security { > x.all-permissions > } > > but the "-" is parsed in the name and this produces a NameError > > NameError: undefined local variable or method `permissions' for > main:Object > > Is there a way to do this? Use the tag! method... x.security { x.tag! "all-permissions" { } } Hope this helps. Josh ------=_Part_7051_2638651.1143156154836--