RE: Question about Repeat element

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 UTC