W3C home > Mailing lists > Public > www-forms@w3.org > March 2003

RE: Question about Repeat element

From: Micah Dubinko <MDubinko@cardiff.com>
Date: Wed, 5 Mar 2003 15:18:14 -0800
Message-ID: <BD2DBD26EE0BAA48B1A425C7BE7923002D0208@csmail.cardiff.com>
To: "'Patrick Garvey'" <pgarvey@SIMS.Berkeley.EDU>, www-forms@w3c.org
Cc: Brian Hayes <bhayes@SIMS.Berkeley.EDU>, Calvin Smith <calvins@SIMS.Berkeley.EDU>

As long as all the repeated-over nodes have the same namespace (and local
name), they will be suitable for <repeat>.

Thanks,

.micah

-----Original Message-----
From: Patrick Garvey [mailto:pgarvey@SIMS.Berkeley.EDU]
Sent: Wednesday, March 05, 2003 12:09 PM
To: www-forms@w3c.org
Cc: Brian Hayes; Calvin Smith
Subject: Question about Repeat element



Hello. I have a question about the following phrase in the XForms spec
regarding repeats:

This element defines a UI mapping over a homogeneous collection selected
by Node Set Binding Attributes. This node-set must consist of contiguous
child element nodes, with the same local name and namespace name of a
common parent node.

My main question is whether all the nodes that a repeat operates on must
be from the same namespace as the parent, as the spec seems to say. So
then would the following hypothetical element, whose children come from
diverse namespaces be able to be repeated?

<a:RepeatingElement>
	<b:Number/>
	<b:Name />
	<a:Price />
	<c: Quantity />
</a:RepeatingElement>

Thanks,

Patrick
Received on Wednesday, 5 March 2003 18:18:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:54 GMT