1
我想讀在那裏我得到問題,閱讀EXT_STRING0><
這個標籤下面的XML文檔,感謝XML XML問題中提前閱讀&LT
<Results>
<ResultSet fetchSize="0">
<Row rowNumber="1">
<OBJECT_ID>AOM_Reference_User5L76V75WA%40aom.com</OBJECT_ID>
<EXT_STRING0><?xml version="1.0" encoding="UTF-8"?><Token><Device><deviceId>jfhksjdhfjks231231233</deviceId><tokenString>RNUR7OQ9VV5R61F3S2K66AHBV</tokenString><createdAt>04-03-2013T12:48:55</createdAt></Device></Token></EXT_STRING0>
</Row>
<Row rowNumber="2">
<OBJECT_ID>AOM_Reference_UserLKKEV81D1%40aom.com</OBJECT_ID>
<EXT_STRING0><?xml version="1.0" encoding="UTF-8"?><Token><Device><deviceId>jfhksjdhfjks231231233</deviceId><tokenString>RIF9XTJSTYCPUMHCQ11FCI1HC</tokenString><createdAt>28-02-2013T15:57:06</createdAt></Device></Token></EXT_STRING0>
</Row>
<Row rowNumber="3">
<OBJECT_ID>AOM_Reference_User4NO17EFO3%40aom.com</OBJECT_ID>
<EXT_STRING0><?xml version="1.0" encoding="UTF-8"?><Token><Device><deviceId>jfhksjdhfjks231231233</deviceId><tokenString>RIF9V5WRWELSYMHCQ11FCI1HC</tokenString><createdAt>28-02-2013T14:43:55</createdAt></Device></Token></EXT_STRING0>
</Row>
<Row rowNumber="4">
<OBJECT_ID>AOM_Reference_User5K4S9NA1S%40aom.com</OBJECT_ID>
<EXT_STRING0><?xml version="1.0" encoding="UTF-8"?><Token><Device><deviceId>jfhksjdhfjks231231233</deviceId><tokenString>RIF9YBD1VK6OYMHCQ11FCI1HC</tokenString><createdAt>28-02-2013T15:59:05</createdAt></Device></Token></EXT_STRING0>
</Row>
<Row rowNumber="5">
<OBJECT_ID>AOM_Reference_UserZUMIPYUR6%40aom.com</OBJECT_ID>
<EXT_STRING0><?xml version="1.0" encoding="UTF-8"?><Token><Device><deviceId>jfhksjdhfjks231231233</deviceId><tokenString>RIF9XOM81TEXUMHCQ11FCI1HC</tokenString><createdAt>28-02-2013T15:55:29</createdAt></Device></Token></EXT_STRING0>
</Row>
<Row rowNumber="6">
<OBJECT_ID>AOM_Reference_UserT3SURUV71%40aom.com</OBJECT_ID>
<EXT_STRING0><?xml version="1.0" encoding="UTF-8"?><Token><Device><deviceId>jfhksjdhfjks231231233</deviceId><tokenString>RNUR7I9G8KOO21F3S2K66AHBV</tokenString><createdAt>04-03-2013T12:47:33</createdAt></Device></Token></EXT_STRING0>
</Row>
<Row rowNumber="7">
<OBJECT_ID>AOM_Reference_UserJ8LKYCDT6%40aom.com</OBJECT_ID>
<EXT_STRING0><?xml version="1.0" encoding="UTF-8"?><Token><Device><deviceId>jfhksjdhfjks231231233</deviceId><tokenString>RIF9YBB2UG4PUMHCQ11FCI1HC</tokenString><createdAt>28-02-2013T15:59:04</createdAt></Device></Token></EXT_STRING0>
</Row>
<Row rowNumber="8">
<OBJECT_ID>AOM_Reference_UserO9PJ92I6X%40aom.com</OBJECT_ID>
<EXT_STRING0><?xml version="1.0" encoding="UTF-8"?><Token><Device><deviceId>jfhksjdhfjks231231233</deviceId><tokenString>RIF9XP9WF62N6MHCQ11FCI1HC</tokenString><createdAt>28-02-2013T15:55:35</createdAt></Device></Token></EXT_STRING0>
</Row>
<Row rowNumber="9">
<OBJECT_ID>AOM_Reference_UserKK62LWXVU%40aom.com</OBJECT_ID>
<EXT_STRING0><?xml version="1.0" encoding="UTF-8"?><Token><Device><deviceId>jfhksjdhfjks231231233</deviceId><tokenString>RIF9WAUNZJLCYMHCQ11FCI1HC</tokenString><createdAt>28-02-2013T14:51:45</createdAt></Device></Token></EXT_STRING0>
</Row>
<Row rowNumber="10">
<OBJECT_ID>AOM_Reference_User8JLCJG90R%40aom.com</OBJECT_ID>
<EXT_STRING0><?xml version="1.0" encoding="UTF-8"?><Token><Device><deviceId>jfhksjdhfjks231231233</deviceId><tokenString>RIF9Y48JUX1WIMHCQ11FCI1HC</tokenString><createdAt>28-02-2013T15:58:41</createdAt></Device></Token></EXT_STRING0>
</Row>
</ResultSet>
謝謝kingdomcreation的答案,CDATA我必須避免這樣的東西 – 2013-03-05 13:38:56
上午我得到它的權利,這個問題是在'<'被翻譯成'<'並破壞標記?如果是這樣的話,那麼爲什麼你不能在將它提供給解析器之前再次逃離整個字符串呢? – svz 2013-03-05 13:45:01
你在文件上使用什麼編碼? – kingdomcreation 2013-03-05 15:03:21