[xml] "official" way to test for any # of attributes on a node?



Is there an official way to test whether a given tree node has no attributes at all?

Or do I just test with

if (node->properties == NULL)
   ...

?

Cheers!
--Chris Ryland / Em Software, Inc. / www.emsoftware.com




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