Lines Matching refs:curnode
147 xmlNodePtr curnode;/* current attribute node */ member
1367 reader->curnode = NULL; in xmlTextReaderRead()
1866 node = (reader->curnode != NULL) ? reader->curnode : reader->node; in xmlTextReaderReadString()
2198 ret->curnode = NULL; in xmlNewTextReader()
2380 reader->curnode = NULL; in xmlTextReaderClose()
2419 if (reader->curnode != NULL) in xmlTextReaderGetAttributeNo()
2468 if (reader->curnode != NULL) in xmlTextReaderGetAttribute()
2539 if (reader->curnode != NULL) in xmlTextReaderGetAttributeNs()
2589 reader->curnode = NULL; in xmlTextReaderGetRemainder()
2667 reader->curnode = NULL; in xmlTextReaderMoveToAttributeNo()
2674 reader->curnode = (xmlNodePtr) ns; in xmlTextReaderMoveToAttributeNo()
2688 reader->curnode = (xmlNodePtr) cur; in xmlTextReaderMoveToAttributeNo()
2727 reader->curnode = (xmlNodePtr) ns; in xmlTextReaderMoveToAttribute()
2744 reader->curnode = (xmlNodePtr) prop; in xmlTextReaderMoveToAttribute()
2759 reader->curnode = (xmlNodePtr) ns; in xmlTextReaderMoveToAttribute()
2775 reader->curnode = (xmlNodePtr) prop; in xmlTextReaderMoveToAttribute()
2830 reader->curnode = (xmlNodePtr) ns; in xmlTextReaderMoveToAttributeNs()
2848 reader->curnode = (xmlNodePtr) prop; in xmlTextReaderMoveToAttributeNs()
2875 reader->curnode = (xmlNodePtr) reader->node->nsDef; in xmlTextReaderMoveToFirstAttribute()
2879 reader->curnode = (xmlNodePtr) reader->node->properties; in xmlTextReaderMoveToFirstAttribute()
2902 if (reader->curnode == NULL) in xmlTextReaderMoveToNextAttribute()
2905 if (reader->curnode->type == XML_NAMESPACE_DECL) { in xmlTextReaderMoveToNextAttribute()
2906 xmlNsPtr ns = (xmlNsPtr) reader->curnode; in xmlTextReaderMoveToNextAttribute()
2908 reader->curnode = (xmlNodePtr) ns->next; in xmlTextReaderMoveToNextAttribute()
2912 reader->curnode = (xmlNodePtr) reader->node->properties; in xmlTextReaderMoveToNextAttribute()
2916 } else if ((reader->curnode->type == XML_ATTRIBUTE_NODE) && in xmlTextReaderMoveToNextAttribute()
2917 (reader->curnode->next != NULL)) { in xmlTextReaderMoveToNextAttribute()
2918 reader->curnode = reader->curnode->next; in xmlTextReaderMoveToNextAttribute()
2941 if (reader->curnode != NULL) { in xmlTextReaderMoveToElement()
2942 reader->curnode = NULL; in xmlTextReaderMoveToElement()
2964 if (reader->curnode == NULL) in xmlTextReaderReadAttributeValue()
2966 if (reader->curnode->type == XML_ATTRIBUTE_NODE) { in xmlTextReaderReadAttributeValue()
2967 if (reader->curnode->children == NULL) in xmlTextReaderReadAttributeValue()
2969 reader->curnode = reader->curnode->children; in xmlTextReaderReadAttributeValue()
2970 } else if (reader->curnode->type == XML_NAMESPACE_DECL) { in xmlTextReaderReadAttributeValue()
2971 xmlNsPtr ns = (xmlNsPtr) reader->curnode; in xmlTextReaderReadAttributeValue()
2983 reader->curnode = reader->faketext; in xmlTextReaderReadAttributeValue()
2985 if (reader->curnode->next == NULL) in xmlTextReaderReadAttributeValue()
2987 reader->curnode = reader->curnode->next; in xmlTextReaderReadAttributeValue()
3045 if (reader->curnode != NULL) in xmlTextReaderAttributeCount()
3046 node = reader->curnode; in xmlTextReaderAttributeCount()
3087 if (reader->curnode != NULL) in xmlTextReaderNodeType()
3088 node = reader->curnode; in xmlTextReaderNodeType()
3157 if (reader->curnode != NULL) in xmlTextReaderIsEmptyElement()
3186 if (reader->curnode != NULL) in xmlTextReaderLocalName()
3187 node = reader->curnode; in xmlTextReaderLocalName()
3217 if (reader->curnode != NULL) in xmlTextReaderConstLocalName()
3218 node = reader->curnode; in xmlTextReaderConstLocalName()
3250 if (reader->curnode != NULL) in xmlTextReaderName()
3251 node = reader->curnode; in xmlTextReaderName()
3325 if (reader->curnode != NULL) in xmlTextReaderConstName()
3326 node = reader->curnode; in xmlTextReaderConstName()
3392 if (reader->curnode != NULL) in xmlTextReaderPrefix()
3393 node = reader->curnode; in xmlTextReaderPrefix()
3424 if (reader->curnode != NULL) in xmlTextReaderConstPrefix()
3425 node = reader->curnode; in xmlTextReaderConstPrefix()
3456 if (reader->curnode != NULL) in xmlTextReaderNamespaceUri()
3457 node = reader->curnode; in xmlTextReaderNamespaceUri()
3484 if (reader->curnode != NULL) in xmlTextReaderConstNamespaceUri()
3485 node = reader->curnode; in xmlTextReaderConstNamespaceUri()
3553 if (reader->curnode != NULL) { in xmlTextReaderDepth()
3554 if ((reader->curnode->type == XML_ATTRIBUTE_NODE) || in xmlTextReaderDepth()
3555 (reader->curnode->type == XML_NAMESPACE_DECL)) in xmlTextReaderDepth()
3577 if (reader->curnode != NULL) in xmlTextReaderHasAttributes()
3578 node = reader->curnode; in xmlTextReaderHasAttributes()
3604 if (reader->curnode != NULL) in xmlTextReaderHasValue()
3605 node = reader->curnode; in xmlTextReaderHasValue()
3639 if (reader->curnode != NULL) in xmlTextReaderValue()
3640 node = reader->curnode; in xmlTextReaderValue()
3685 if (reader->curnode != NULL) in xmlTextReaderConstValue()
3686 node = reader->curnode; in xmlTextReaderConstValue()
4007 if (reader->curnode != NULL) in xmlTextReaderCurrentNode()
4008 return(reader->curnode); in xmlTextReaderCurrentNode()
4029 if (reader->curnode != NULL) in xmlTextReaderPreserve()
4030 cur = reader->curnode; in xmlTextReaderPreserve()
4729 if (reader->curnode != NULL) in xmlTextReaderIsNamespaceDecl()
4730 node = reader->curnode; in xmlTextReaderIsNamespaceDecl()
5268 reader->curnode = NULL; in xmlTextReaderSetup()
5436 ret->curnode = NULL; in xmlReaderWalker()
5638 reader->curnode = NULL; in xmlReaderNewWalker()