Boa Tarde..
Estou com um xml onde dentro do node tenho uns html exemplo:
<?xml version="1.0" encoding="iso-8859-1"?>
<laboratorios>
<title>Encaminhamento de Exames</title>
<css>/css/pop_laboratorio.css</css>
<js>/js/pop_laboratorios.js</js>
<texto><h1>titulo</h1><BR />blablalbla<strong>blabla</strong>
blabla
</texto>
</laboratorios>
Na situacao acima o texto esta em HTML dentro do xml, para que o xml lei eu botei:
<texto><![CDATA[<h1>titulo</h1><BR />blablalbla<strong>blabla</strong>
blabla
]]>
</texto>
E o resultado disto na tela e:
<h1>titulo</h1><BR />blablalbla<strong>blabla</strong>
blabla
ja no HTML foi substituido o < por < e o > por >
Como eu faco para ele voltar certo, como tags HTML mesmo
Abraco

Tags Html Dentro De Xml
Started By xuki, 02/04/2008, 16:23
4 replies to this topic
#1
Posted 02/04/2008, 16:23
P(eace) L(ove) U(nity) R(espect)
#3
Posted 03/04/2008, 10:21
Perfeito...
Muito Obrigado!
Muito Obrigado!
P(eace) L(ove) U(nity) R(espect)
#5
Posted 09/04/2008, 16:55
Funcionou sim hehehe
Era sim no XSL, mas precisa por no XML a tag <![CDATA[
Valeu, Obrigado!
Era sim no XSL, mas precisa por no XML a tag <![CDATA[
Valeu, Obrigado!
P(eace) L(ove) U(nity) R(espect)
1 user(s) are reading this topic
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)