View Single Post
  #1 (permalink)  
Old September 14th, 2005, 11:16 AM
carlos.bravo carlos.bravo is offline
Registered User
Join Date: Sep 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Retrieve the escaped node content

Hello all:

I want to retrieve the value of a node that has children, and escape it (transform the "<" to "&lt;", and ">" to "&gt;"), something like:



Desired output:


I've tried to retrieve directly the root value with:

<xsl:value-of select="." />

... but the output doesn't contain the "<,>" characters, only blank spaces.

...any ideas?

Thanks in advance ;)


Reply With Quote