[xml] getting/putting variables

Date view Thread view Subject view Author view

From: Anthony Tekatch (tekatch@idirect.com)
Date: Tue Jan 11 2000 - 19:41:24 EST


Is there an easy way of getting or putting variables into the XML image in
memory rather than recursively parsing it.

From the following XML code snippet:
  <my>
    <variable>
      23
    </variable>
  </my>
  

I would like to get variables like this:

  myvariable = doc->my.variable.val;

I would like to variables like this:

  doc->my.variable.val = myvariable;
  

Is something like this possible?

--
Anthony
----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:29:57 EDT