У меня было около 20 примеров попыток разбора xml в excel, и ни один из них не работает для моего источника. Большая проблема здесь в том, что я не знаю, как разбирать xml в excel VBA в любом случае.XML Parse for excel
Вот мои вопросы:
1) Есть ли интернет-ресурс, я мог бы использовать, чтобы понять справочные библиотеки MSXML, используемые в Excel, что вы, ребята, рекомендуем? 2) Есть ли что-то искаженное с xml, которое я пытаюсь разобрать? (см. ниже, например, xml)
Сообщения об ошибках часто имеют две темы .. либо в примере используется переменная, которая не определена в MSXML v6, или она открывает XML-файл, но никогда не находит элемент документа.
* Обновлено: К сожалению, я должен был сказать, что я пытаюсь получить сообщение HREF, предметный заголовок, дату и размещенной переменной Kudos
<response status="success">
<node_message_context type="node_message_context">
<message type="message" href="/messages/id/25704">
<id type="int">25704</id>
<read_only type="boolean">false</read_only>
<message_rating type="float">0.0</message_rating>
<last_edit_author type="user" href="https://stackoverflow.com/users/id/1094">
<login type="string">AllenSmith</login>
</last_edit_author>
<kudos>
<count type="int">1</count>
</kudos>
<last_edit_time type="date_time">2013-06-26T13:23:44+00:00</last_edit_time>
<post_time type="date_time">2013-06-26T13:23:44+00:00</post_time>
<board type="board" href="/boards/id/DesktopAPI"/>
<subject type="string">
Re: SKYPE4COM MessageStatus received event doesn't fire all the times (skype window has or not focu
</subject>
<deleted type="boolean">false</deleted>
<author type="user" href="https://stackoverflow.com/users/id/1094">
<login type="string">AllenSmith</login>
</author>
<thread type="thread" href="/threads/id/25696"/>
<root type="message" href="/messages/id/25696"/>
<board_id type="int">1331</board_id>
<parent type="message" href="/messages/id/25696"/>
<teaser type="string"/>
<views>
<count type="int">43</count>
</views>
</message>
<message type="message" href="/messages/id/25690">
<id type="int">25690</id>
<read_only type="boolean">false</read_only>
<message_rating type="float">0.0</message_rating>
<last_edit_author type="user" href="https://stackoverflow.com/users/id/1094">
<login type="string">AllenSmith</login>
</last_edit_author>
<kudos>
<count type="int">0</count>
</kudos>
<last_edit_time type="date_time">2013-06-25T13:38:17+00:00</last_edit_time>
<post_time type="date_time">2013-06-25T13:38:17+00:00</post_time>
<board type="board" href="/boards/id/SkypeKitAPI"/>
<subject type="string">Re: Connection to the runtime was refused</subject>
<deleted type="boolean">false</deleted>
<author type="user" href="https://stackoverflow.com/users/id/1094">
<login type="string">AllenSmith</login>
</author>
<thread type="thread" href="/threads/id/23414"/>
<root type="message" href="/messages/id/23414"/>
<board_id type="int">6977</board_id>
<parent type="message" href="/messages/id/23414"/>
<teaser type="string"/>
<views>
<count type="int">64</count>
</views>
</message>
Пожалуйста, обратитесь к этому [** link **] (http://stackoverflow.com/questions/16783816/unable-to-read-the-attributes-of-child-nodes-using-xml-dom-in- доступ-2003/16798801 # 16798801) – Santosh