Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Delcain

Leitor de estrutura XML

Recommended Posts

Olá Pessoal.Na rede em que administro utilizo o Wilfire Jabber para comunicador instataneo interno que possui auditoria de trafego de conversação.Este wildfire gera um arquivo txt com uma estrutua XML, gostaria de saber se alguem poderia me ajudar gerando um arquivo que podesse ler essa estrutura.Realmente eu não sei so o que eu postar vai poder ajudar na auxilio dessa minha necessidade. Mas se houver alguma santa alma afim realmente de ajudar entre em contato delcain@hotmail.comatt;Vejam

- <packet xmlns="http://www.jivesoftware.org" streamID="54e560c" status="auth" timestamp="21/03/2007 17:44:42">- <message xmlns="" type="chat" xml:lang="pt-br" id="sd28" to="sandra@zeus/Pandion" from="dante@zeus/Pandion">  <body>Ele vai ter que ir na Porto</body> - <html xmlns="http://jabber.org/protocol/xhtml-im">- <body xmlns="http://www.w3.org/1999/xhtml">  <span style="font-weight: normal; font-size: 9pt; color: #004200; font-style: normal; font-family: arial">Ele vai ter que ir na Porto</span>   </body>  </html>- <x xmlns="jisp:x:jep-0038">  <name>shinyicons</name>   </x>  <active xmlns="http://jabber.org/protocol/chatstates" />   </message>  </packet>- <packet xmlns="http://www.jivesoftware.org" streamID="626f6fa8" status="auth" timestamp="21/03/2007 17:44:42">- <message xmlns="" type="chat" xml:lang="pt-br" id="sd28" to="sandra@zeus/Pandion" from="dante@zeus/Pandion">  <body>Ele vai ter que ir na Porto</body> - <html xmlns="http://jabber.org/protocol/xhtml-im">- <body xmlns="http://www.w3.org/1999/xhtml">  <span style="font-weight: normal; font-size: 9pt; color: #004200; font-style: normal; font-family: arial">Ele vai ter que ir na Porto</span>   </body>  </html>- <x xmlns="jisp:x:jep-0038">  <name>shinyicons</name>   </x>  <active xmlns="http://jabber.org/protocol/chatstates" />   </message>  </packet>- <packet xmlns="http://www.jivesoftware.org" streamID="626f6fa8" status="auth" timestamp="21/03/2007 17:44:47">- <message xmlns="" type="chat" xml:lang="pt-br" id="sd68" to="dante@zeus/Pandion" from="sandra@zeus/Pandion">  <body>DEVE DAR UNS 5 A 7 DE JUROPS</body> - <html xmlns="http://jabber.org/protocol/xhtml-im">- <body xmlns="http://www.w3.org/1999/xhtml">  <span style="font-weight: normal; font-size: 9pt; color: #004200; font-style: normal; font-family: arial">DEVE DAR UNS 5 A 7 DE JUROPS</span>   </body>  </html>- <x xmlns="jisp:x:jep-0038">  <name>shinyicons</name>   </x>  <active xmlns="http://jabber.org/protocol/chatstates" />   </message>  </packet>- <packet xmlns="http://www.jivesoftware.org" streamID="54e560c" status="auth" timestamp="21/03/2007 17:44:47">- <message xmlns="" type="chat" xml:lang="pt-br" id="sd68" to="dante@zeus/Pandion" from="sandra@zeus/Pandion">  <body>DEVE DAR UNS 5 A 7 DE JUROPS</body> - <html xmlns="http://jabber.org/protocol/xhtml-im">- <body xmlns="http://www.w3.org/1999/xhtml">  <span style="font-weight: normal; font-size: 9pt; color: #004200; font-style: normal; font-family: arial">DEVE DAR UNS 5 A 7 DE JUROPS</span>   </body>  </html>- <x xmlns="jisp:x:jep-0038">  <name>shinyicons</name>   </x>  <active xmlns="http://jabber.org/protocol/chatstates" />   </message>  </packet>

Compartilhar este post


Link para o post
Compartilhar em outros sites

Você pode utilizar XSLT para transformar isso, ou pegar ele com javascript e exibir, ou entaum usar PHP... mas isso não é minha especialidade...[]'s

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.