Children of xbinc:Include

At today's F2F I was asked to take a cut at formulating the allowed
children of xbinc:Include, using the query data model [1].  Here's a first
cut.  In general, I've adapted the definition text in the DM working draft
and made it, where necessary, more specific to xbinc:Include.  We should
probably do a similar job for all other Miffy constructs.  I think it's
straightforward once you get the hang of it.

dm:base-uri
Returns a sequence of zero or one base URIs.  Because the CID scheme used
for xbinc:href attribute values does not allow for relative URI references,
any URI returned as a base will be ignored for purposes of Miffy
processing.

dm:node-kind
Returns "element".

dm:node-name
Returns xbinc:Include (as an xs:QName)

dm:parent
Returns the value of the parent property.

dm:string-value
The characters comprising the URI that identifies the "extracted content"
stream corresponding to the replaced data.

dm:typed-value
There is currently some discussion between the Query and Schema WGs as to
the formulation of typed-values for URIs.  We should check what's
recommended and do it.  There are no special Miffy issues here, just a need
to treat URIs in whatever way Schema and Query decide they should be
handled.

dm:type
Returns xs:anyURI

dm:children
Returns the value of the children property.

dm:attributes
Returns the value of the attributes property, which must contain a single
attribute node representing the xbinc:href attribute.

dm:namespaces
Returns the value of the namespaces property. The namespaces defined must
include at least one definition which has as its URI property the {xbinc
namespace URI here}, so that the include attribute can be serialized.  That
definition may but need not be for the default namespace.

dm:nilled
Returns false.

Each of the above accessors is defined in the data model  working draft at
[1].

[1] http://www.w3.org/TR/xpath-datamodel/

--------------------------------------
Noah Mendelsohn
IBM Corporation
One Rogers Street
Cambridge, MA 02142
1-617-693-4036
--------------------------------------

Received on Tuesday, 2 December 2003 17:14:33 UTC