Steve Peng wrote:
> Liane Praza wrote:
>> Steve Peng wrote:

>>> Can the name in prop_pattern take wildcard?  Can I apply visibility 
>>> tag to all the props by using wildcard?
>>
>> The manpage says:
>>     name is always required. type is optional only if required is false.
>>
>> Is there some rephrasing I'd have to do to make it more clear that the 
>> name attribute is required?
> Can I have something likes this:
> 
> <pg_pattern....>
>      <prop_pattern name="*"....>            matches all properties
>             <visibility value="readonly"...>
>      </prop_pattern>
> </pg_pattern>
> 
> So all properties in the pg are visible as readonly?

No, not currently.  I don't think that phrasing makes sense for anything 
except for 'visibility', so if that's an important feature, I'd consider 
implementing its definition a very different way.

e.g. by allowing visibility to be defined on the entire property group 
rather than by wildcarding on properties. But I've heard objections to 
that before, so I've been hesitant to add it -- it'd be trivial to add 
later, though.

liane

Reply via email to