Re: [xml] xpointer range in attribute node



On Wed, Feb 02, 2005 at 05:48:44PM -0000, Couch, PA (Philip) wrote:
Hi,

Is it possible to use libxml's xpointer implementation to locate ranges that are completely enclosed in 
attribute nodes?

  From my recollection, no it's not possible. Attributes aren't represented
on screen and I thing strings in attribute values were not part of the
requirement of rendering selection in XPointer.

Using libxml, I get empty location sets from xpointer expressions of the form:

xpointer(string-range(//node/@attribute,"string",start,length))

Thanks for any help that you may be able to give,

Phil.


Daniel


-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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