RE: Wildcard in the <value> element

Hi Aaron,

> -----Original Message-----
> From: www-forms-request@w3.org 
> [mailto:www-forms-request@w3.org] On Behalf Of Aaron Reed
> Sent: Friday, July 21, 2006 15:46
> To: www-forms@w3.org
> Subject: Re: Wildcard in the <value> element
> 
> So this would effectively create two items:
> <xf:item>
>    <xf:label>Bob Smith</xf:label>
>    <xf:value>123-45-6789</xf:value>
> </xf:item>
> <xf:item>
>    <xf:label>Mary Smith</xf:label>
>    <xf:value>987-65-4321</xf:value>
> </xf:item>


Thanks for your answer.

So... I see that a <value> element carrying a "ref" attribute can be used within an <itemset> (so long as the value of the "ref" attribute is a relative location path).

However, I still don't see how the child elements of <value> can be used with an <itemset> or within an <item>.   Why is there a wildcard in the content model of the <value> element?

<xsd:any namespace="##any" processContents="skip" minOccurs="0" maxOccurs="unbounded"/>

Alessandro


> > 
> > So my question is, in what cases (if any) would a <value> 
> element contain a child element?
> > 
> 
> I can't think of an example of this off of the top of my head.
> 
> --Aaron
> 

Received on Friday, 21 July 2006 21:05:10 UTC