- From: Dan Connolly <connolly@w3.org>
- Date: Wed, 13 Jun 2001 11:48:19 -0500
- To: Brian McBride <bwm@hplb.hpl.hp.com>, rdf core <w3c-rdfcore-wg@w3.org>
Dan Connolly wrote: > > Brian McBride wrote: > [...] > > I think therefore there is a case to be made for simplifying this aspect of > > the proposal so that rdf:li elements within a description are translated to > > rdf:_nnn where nnn starts at 1 and is incremented by one for each rdf:li > > encountered. > > Yes, no more special cases than that, please. > > In particular, this rule can be implemented straightforwardly > using XPath; something like: count(previous-sibling::rdf:li). > > > This the example given above: > > > > <rdf:Bag> > > <rdf:li>1</rdf:li> > > <rdf:_10>10</rdf:li> > > <rdf:li>11</rdf:li> > > </rdf:Bag> > > > > would generate: > > > > _:genid <rdf:type> <rdf:Bag>. > > _:genid <rdf:_1> "1" . > > _:genid <rdf:_10> "10" . > > _:genid <rdf:_11> "2" . > > oops... no, it should generate _:genid <rdf:type> <rdf:Bag>. _:genid <rdf:_1> "1" . _:genid <rdf:_10> "10" . _:genid <rdf:_2> "2" . right? (details details...) -- Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Wednesday, 13 June 2001 12:49:30 UTC