[Home] [By Thread] [By Date] [Recent Entries]

Subject: 'Embedded' xml
From: Bruno Domenici <bruno.domenici@xxxxxxxxx>
Date: Wed, 20 May 2009 08:10:20 -0300
Hi,


Is it possible use xsl to extract a 'embedded' xml like this:

<soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:dp="http://www.datapower.com/schemas/management">
<soap:Body>
<GetCidadesResponse xmlns="http://wseapisul.apisul.com.br">
<GetCidadesResult><?xml version="1.0"
encoding="utf-8"?><APISUL><CIDADES Quantidade="1">
  <CIDADE>
    <CD_CIDADE>3681</CD_CIDADE>
    <DS_CIDADE>SAO PAULO</DS_CIDADE>
    <DS_UF>SP</DS_UF>
    <DS_PAIS>BRASIL</DS_PAIS>
  </CIDADE>
</CIDADES></APISUL></GetCidadesResult></GetCidadesResponse></soap:Body></soap:Envelope>

I have to extract values from the GetCidadesResult node. I don't know
how to XPath this.

Any idea!?

Thanks!

-- 
Bruno D.

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member