Re: [xml] int GetIntegerAttribute(node, "myAttribute") ?

On Mon, Jan 03, 2005 at 03:10:20PM -0800, Martin Olsson wrote:

Is there something equivalent of this in libxml -->
int GetIntegerAttribute(node, "myAttribute") ?

  Not that I can think of, not directly.

Or should I use xmlGetProp() and then convert the xmlChar* into an 
integer somehow?



P.S.: don't use "Reply to" when posting a new question it breaks mail threading.

Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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