Question

I'm using javascript to pull data returned from an XML document. Inside this XML file are elements that may have XHTML tags inside of them. The nodevalue is not displaying when the XHTML is surrounded by CDATA tags nor when I enter &lt/&gt manually. When there is no XHTML formatting inside an element, the nodevalue displays fine.

<note title="criteria">
 <ul>
  <li>If patient has wide complex tachycardia and is pulseless, see VF/Pulseless VT protocol</li>
  <li>Stable VT protocol - Asymptomatic or minor symptoms (palpitations, heart racing, etc.)</li>
  <li>Unstable VT protocol – <u>HR&gt;150</u> with altered mental status changes, chest pain, hypotension, shock symptoms (cap refill &gt; 2 sec, poor peripheral pulses, cool distal extremities, diaphoresis).</li>
 </ul>
 </note>

I am trying not to use XSLT but is there any way else to do this?

Was it helpful?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top