Replace "&" in <remdestinaratio> xml using XSLT

Yeisson Guzman 1 Reputation point
2022-05-09T15:33:38.133+00:00

200402-captura-de-pantalla-2022-05-09-102714.png

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,580 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yitzhak Khabinsky 25,106 Reputation points
    2022-05-09T16:15:31.287+00:00

    Hi @Yeisson Guzman ,

    The input XML is not well-formed, which is a minimum requirement for an XML to be considered to be an XML.
    So, XSLT will not be able to process such non-XML file.

    It is better to introduce a fix where XML is generated.
    An ampersand shall be encoded as follows:

    & => &amp;  
    
    1 person found this answer helpful.