Reagrding XML file parsing.
Reagrding XML file parsing.
- Subject: Reagrding XML file parsing.
- From: Manish Pattath <email@hidden>
- Date: Wed, 14 Apr 2004 13:38:19 +0100 (BST)
Hi,
I am parsing a XML file using CFXMLParser. I am able to get the node name. But I am not able to get the values associated with the node.
This is what I am doing for getting the node value.
CFXMLTreeRef ssubSubTree = CFTreeGetChildAtIndex(subSubTree, index);
CFXMLNodeRef ssubNode = CFXMLTreeGetNode(ssubSubTree);
CFShow(CFXMLNodeGetString(ssubNode));
cfXML = (CFXMLElementInfo*) CFXMLNodeGetInfoPtr(ssubNode);
cDict = (*cfXML).attributes;
But cfXML which is of type CFXMLElementInfo* is null and so is cDict which is of CFDictionaryRef type.
Can anybody tell me the reason for this behaviour?
Is my approach incorrect?
Thanks.
with rgds,
pmanish
Yahoo! India Matrimony: Find your partner online.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.