[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Simple] Update to xcap package
Sorry I meant this:
PUT http://document/foo/bar[@id="3" and 3]
I had the quotes at the wrong place
> -----Original Message-----
> From: ext Jonathan Rosenberg [mailto:jdrosen@dynamicsoft.com]
> Sent: 25.February.2004 18:20
> To: Khartabil Hisham (Nokia-TP-MSW/Helsinki)
> Cc: CBoulton@ubiquity.net; simple@ietf.org
> Subject: Re: [Simple] Update to xcap package
>
>
>
>
>
> hisham.khartabil@nokia.com wrote:
>
>
> >>
> >>>You can probably indicate the position of the insertion using the
> >>>xpath like expression. Something like:
> >>>
> >>>PUT http://document/foo/bar[@id="3 and 3"]
> >>
> >>This is not legal, I don't think.
> >
> >
> > It is legal in xpath, but not xcap.
>
> I dont think its legal xpath; or at least, it doesnt do what
> you want.
> Its saying to choose the element bar whose id attribute is
> equal to "3
> and 3". So, it would select an element in a document like this:
>
> <foo>
> <bar id="3 and 3"/>
> </foo>
>
> If you want the element whose id attribute is 3 and whose
> position is 3,
> the and cannot be in quotations.
>
> Note that it doesnt seem to work in XML spy either.
>
> -Jonathan R.
> --
> Jonathan D. Rosenberg, Ph.D. 600 Lanidex Plaza
> Chief Technology Officer Parsippany, NJ 07054-2711
> dynamicsoft
> jdrosen@dynamicsoft.com FAX: (973) 952-5050
> http://www.jdrosen.net PHONE: (973) 952-5000
> http://www.dynamicsoft.com
>
_______________________________________________
Simple mailing list
Simple@ietf.org
https://www1.ietf.org/mailman/listinfo/simple