daniel kakona

daniel kakona

  • NA
  • 3
  • 435

XSLT Hyperlink not showing text after it

Apr 19 2018 3:33 AM
Hi all,
I have a ticketing system which receives emails formatted in xml sent by users. The system uses an xslt script to convert the xml formatted email into the supported xml format that the system uses to create a ticket.
Below is an example of the email format which is sent to the system:
First Name: Paul
Last Name: Luis
Email Address: [email protected]
Contact Number: 0123456789
How can we help you: Testing
The content found between the tag Description is copied into the description of the ticket is below:
First Name: Paul
Last Name: Bonthuys
Email Address: [email protected]
Contact Number: 0123456789
How can we help you: Testing
The issue I am having is that all the text after the email address is cut and not displayed in the ticket description field. So the description field only shows as below:
First Name: Paul
Last Name: Bonthuys
Email Address: [email protected]
Of course I have the option of moving the email address to the end of the Description tag, but I will like to keep the sequence of how the information is displayed i.e. First Name, Last Name, Email Address, Contact Number. I am suspecting that the email address hyperlink is causing the text after it to be cut and not being displayed.
Below is a sample of my xslt script which copies the content of my email into the ticket description field:
Symptom
Default Symptom goes here
Anyone has an idea of how I could strip the hyperlink in the email address so that some texts are not cut?
XSLT CODE
UpdateAdd
System.String
System.String
Symptom
Default Symptom goes here
TIA.