Changeset 147 for trunk/src/helpers/xml.c
- Timestamp:
- Mar 16, 2002, 8:53:47 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/xml.c
r142 r147 2131 2131 XSTRING strElementName; 2132 2132 xstrInitSet(&strElementName, (PSZ)pcszElementName); 2133 pThis = (PCMATTRIBUTEDECLBASE)treeFind(2133 if (!(pThis = (PCMATTRIBUTEDECLBASE)treeFind( 2134 2134 pDocType->AttribDeclBasesTree, 2135 2135 (ULONG)&strElementName, 2136 CompareXStrings); 2137 2138 if (!pThis) 2136 CompareXStrings))) 2139 2137 { 2140 2138 // still not found: 2141 2139 // we need a new node then 2142 pDom->arcDOM = xmlCreateNodeBase(ATTRIBUTE_DECLARATION_BASE,2140 if (!(pDom->arcDOM = xmlCreateNodeBase(ATTRIBUTE_DECLARATION_BASE, 2143 2141 sizeof(CMATTRIBUTEDECLBASE), 2144 2142 strElementName.psz, 2145 2143 strElementName.ulLength, 2146 (PNODEBASE*)&pThis); 2147 if (!pDom->arcDOM) 2144 (PNODEBASE*)&pThis))) 2148 2145 { 2149 2146 // initialize the subtree
Note:
See TracChangeset
for help on using the changeset viewer.