Re: [xml] xpath & node creation



On Sun, Oct 31, 2004 at 04:54:20PM +0100, Thomas Rokohl wrote:
hi,

is there an easy way to create nodes with a given XPath.

i have a given path and if this node and his parent's doesn't exist i will 
create it.

is there a solution in libxml?

  not automatic. XPath is a query only engine. Closest example is
    http://xmlsoft.org/examples/index.html#xpath2.c

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]