W3C home > Mailing lists > Public > xml-dist-app@w3.org > December 2003

Children of xbinc:Include

From: <noah_mendelsohn@us.ibm.com>
Date: Tue, 2 Dec 2003 17:06:07 -0500
To: xml-dist-app@w3.org
Message-ID: <OFF7DDA57B.2CC3D229-ON85256DF0.0075A31F@lotus.com>





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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:15 GMT