I haven't read this whole thread, but why don't you just use a pattern?

Bob

Dave Pawson wrote:
> html has an img element,
> the height attribute can be either 
> 
> 128 or 60%
> 
> How do I specify this in rng please?
> 
>  <attribute name="height"> 
>    <choice>
>      <data type="positiveInteger"/>
>      <group>
>        <data type="positiveInteger"/>
>        <value>%</value>
>      </group>
>    </choice>
>  </attribute> 
> 
> isn't working. I want a positive integer, with the 'units' (%).
> 
> 
> James's xhtml shows
> 
> # nn for pixels or nn% for 
> Length.datatype = text
> 
> Does that means its a no no?
> 
> 
> 
> 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/2U_rlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/rng-users/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to