tags:

views:

35

answers:

1

Hi All,

I am very new to XML data processing, please help me building the XSLT code for replacing the selected escaped characters,

Replace

  1. > with >
  2. &lt; with <

Thanks in advance.

+1  A: 

When you want to output character entity as the character represented, you have two scenarios:

1.- Your output method is not text: the only way is DOE as in

<xsl:text disable-output-escaping="yes">&gt;</xsl:text> 

Output:

>

2.- Your output method is text: just output as-is because it does not perform any escape.

Alejandro