Olá Galera,<br><br>Estou precisando de uma ajudinha. Eu tenho um padrão de desenvolvimento já usado aqui&nbsp; simples para coletar informações do XML usando XML Twig. Então preciso coletar essas informações nesse XML&nbsp; no link-&gt; 
<a href="http://www.rumo.com.br/sistema/XMLProdutos.asp?IDLoja=6928&amp;Texto=&amp;IDProduto=&amp;IDCategoria=&amp;ExibeDescricao=1&amp;origem=jacotei&amp;est=&amp;Mult">http://www.rumo.com.br/sistema/XMLProdutos.asp?IDLoja=6928&amp;Texto=&amp;IDProduto=&amp;IDCategoria=&amp;ExibeDescricao=1&amp;origem=jacotei&amp;est=&amp;Mult
</a><br><br>Sendo que a string resultante dessa requisição é a <span style="font-weight: bold; color: rgb(255, 102, 102);">variavel $string</span>;<br>Estou usando XML::Twig da seguinte forma:<br><br>&nbsp;<span style="font-weight: bold;">
my $twig = XML::Twig-&gt;new(keep_encoding =&gt; &quot;true&quot;);</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp; $twig-&gt;parse(&quot;$string&quot;);</span><br style="font-weight: bold;"><span style="font-weight: bold;">
&nbsp;&nbsp;&nbsp; foreach my $product ($twig-&gt;root-&gt;children(&#39;produto&#39;)) {</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my $sibling = $product-&gt;first_child();</span><br style="font-weight: bold;">
<span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my %produto;</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my @nodes;</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; do {
</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $produto{$sibling-&gt;tag()} = $sibling-&gt;child_text();</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } while($sibling = $sibling-&gt;next_sibling());
</span><br><br>Só que preciso pegar o valor da tag <span style="color: rgb(51, 51, 255);">&lt;descritor nome=&quot;Peso líquido:&quot;&gt;</span><span style="font-weight: bold; color: rgb(51, 51, 255);">VALOR</span><span style="color: rgb(51, 51, 255);">
&lt;/descritor&gt;</span>.<br>Reparando bem existe <span style="font-weight: bold;">outra tag&nbsp; descritor</span> onde o atributo nome tem valor <span style="font-weight: bold;">DIMENSÕES</span>. <br>Alguém pode me ajudar a pegar esse 
<span style="font-weight: bold; color: rgb(51, 102, 255);">VALOR</span>?<br><br clear="all"><br>-- <br>Atenciosamente,<br><br>Roan Brasil Monteiro<br>Presidente do Rotaract Club Lauro de Freitas D4550<br>Gestão 2006/2007<br>
________________________________<br>*-*,*-*,*-*,*-*,*-*,*-*,*-*,*-*,*-*,*-*<br>Faculdade UNIME<br><a href="http://www.unime.com.br">www.unime.com.br</a><br>BSI - Bacharelado de Sistema de Informação<br>Roan Brasil Monteiro 
<br>_____________________<br>*-*,*-*,*-*,*-*,*-*,*-*,*-*,*-*,*-*,*-*<br><br>&quot;NA LUTA ENTRE BATMAN E PINGÜIM,<br>EU SOU MAIS O PINGÜIM...&quot; by Roan<br>____<br> °v°&nbsp;&nbsp; NÃO USE DROGAS,<br>/(_)\&nbsp;&nbsp;USE GNU/LINUX<br> ^ ^
<br>Por que ver o MUNDO através de &#39;janelas&#39;<br>Se você pode usar portas.<br><br>&quot;Software Livre:<br>&nbsp;&nbsp;&nbsp;&nbsp;Socialmente Justo,<br>&nbsp;&nbsp;&nbsp;&nbsp;Economicamente Viável,<br>&nbsp;&nbsp;&nbsp;&nbsp;Tecnologicamente Sustentável&quot;