Unity logo
取消
购物车
应用
Sell Assets

11000+款5星资源

8.5万+用户参与评分

10万+社区成员鼎力支持

每款资源都经过 Unity 审核

首页
工具
输入管理
1/7
XML is a handy format for communication between your game and a webserver.

Handy as it may be, it is still a lot of work to convert XML data into usable objects in your game. SimpleXML deals with all this headache for you.

- import XML
- export XML
- uses Hashtables and ArrayLists
- easily retrieve single nodes

Imports any XML string into Unity at runtime. The results are formatted as a hierarchy of plain Hashtables and ArrayLists. And it doesn't throw exceptions the very second your XML isn't 100% according to standards either. Missing double quotes and missing closing tags will be forgiven when posssible.

No fancy stuff, no nonsense, just an Importer and a few handy extensions to the existing C# Hashtable and ArrayList classes to easily retrieve information from the data hierarchy.

Import an XML string:
myHashtable = SimpleXmlImporter.Import(jsonString);

Export an XML string:
string xmlString = myHashtable.XmlString();

Query the hierarchy
Hashtable bookInfo = myHashtable.GetNodeWithProperty("Author", "George Orwell");

All source code is included and written in C#. There are no DLL's or hidden stuff.

Like all other Orbcreation packages, it has online documentation.

Version 2.0:
Rewritten importer to make it 2x faster and more tolerant for XML format errors

Version 1.03:
Added handy functions to access Hashtable and ArrayList members
Added string conversion functions
Added simple example of procedural gameobject creation based on xml file

SimpleXML importer

(5)
74 users have favourite this asset
(74)
$5
席位
1
更新的价格和增值税在结算时计算
退款政策
该资源受Unity资源商店退款政策约束。有关详细信息,请参见《最终用户许可协议》(EULA)中的第2.9.3节。
安全结账方式:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
Unity logo
语言
反馈
合作伙伴计划
合作伙伴
USD
EUR
Copyright © 2025 Unity Technologies
所有价格不包含税
USD
EUR