-1
我想通過DDXMLDocument遞歸循環,並更改元素屬性。DDXMLDocument上的遞歸循環objective-c
我該怎麼辦?我目前擁有的文件和根元素:
DDXMLDocument *theDocument = [[DDXMLDocument alloc] initWithXMLString:content options:0 error:&error];
DDXMLElement *rootElement = theDocument.rootElement;
這應該是這樣的: - (無效)processNode:(DDXMLNode *)節點當然 – Dejell
UPS混合up C和objC - 抱歉 –
謝謝。順便說一句,如果我將DDXMLDocument作爲方法的第一個根發送,它也會解析。我怎樣才能發送它沒有這個元素? – Dejell