Ignore:
Timestamp:
Oct 2, 2001, 8:28:47 PM (24 years ago)
Author:
umoeller
Message:

Misc helpers updates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/xml.c

    r97 r106  
    24342434
    24352435        // create the document node
    2436         arc = xmlCreateDomNode(NULL, // no parent
    2437                                DOMNODE_DOCUMENT,
    2438                                NULL,
    2439                                0,
    2440                                &pDocument);
    2441 
    2442         if (arc == NO_ERROR)
     2436        if (!(arc = xmlCreateDomNode(NULL, // no parent
     2437                                     DOMNODE_DOCUMENT,
     2438                                     NULL,
     2439                                     0,
     2440                                     &pDocument)))
    24432441        {
    24442442            // store the document in the DOM
     
    25532551 */
    25542552
    2555 APIRET xmlParse(PXMLDOM pDom,
    2556                 const char *pcszBuf,
    2557                 ULONG cb,
    2558                 BOOL fIsLast)
     2553APIRET xmlParse(PXMLDOM pDom,               // in: DOM created by xmlCreateDOM
     2554                const char *pcszBuf,        // in: chunk of XML document data (or full document)
     2555                ULONG cb,                   // in: size of that chunk (required)
     2556                BOOL fIsLast)               // in: set to TRUE if this is the last chunk
    25592557{
    25602558    APIRET arc = NO_ERROR;
Note: See TracChangeset for help on using the changeset viewer.