Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个只有一个节点的 xml 文件
<?xml version="1.0" encoding="UTF-8"?> <a>Some text here</a>
是否可以使用TBXML来解析它,如果可以,请告诉我如何实现?请帮我!
TBXML是的,您可以使用以下代码进行解析...
TBXML
TBXMLElement *yourValue = [TBXML childElementNamed:@"a" parentElement:yourParentElement];