[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NETCONF Instance Identifiers



Hi Phil,


....
   /foo/bar[x="3",y="4"]/baz[name="fred"]/zoo/goo[position="3"]

Xpath position() is 1 .. N based, and does not seem to be needed:

  /foo/goo[position()=3]  ==  /foo/goo[3]

So this example should be:

  /foo/bar[x=3 and y=4]/baz[name='fred']/zoo/goo[3]

I like concise 'C' style syntax better of course:

  foo.bar[3,4].baz[fred].zoo.goo[2]

but it isn't XMLish enough, so never mind.


Andy

--
to unsubscribe send a message to netconf-request@ops.ietf.org with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/netconf/>