Hi All,
Issue :
Recently, we have faced an XML error called "Whitespace is not allowed at this location. Error processing resource "Notes link"
<Title> India & US </Title>
Analysis:
I have found that, Title name contains "&" character in the above xml format, that is the reason the XML is not working and throwing this error.
Solution:
1. We have to handle the "&",character, the title name is coming from Notes field. So we have handle the character using below code 2 lines of code
x
1. titlename= Evaluate("@ReplaceSubstring(Titlename; ""&""; ""&"")", doc)
2. Print |<Title>| & titlename(0) & |</Title>|
Issue :
Recently, we have faced an XML error called "Whitespace is not allowed at this location. Error processing resource "Notes link"
<Title> India & US </Title>
Analysis:
I have found that, Title name contains "&" character in the above xml format, that is the reason the XML is not working and throwing this error.
Solution:
1. We have to handle the "&",character, the title name is coming from Notes field. So we have handle the character using below code 2 lines of code
x
1. titlename= Evaluate("@ReplaceSubstring(Titlename; ""&""; ""&"")", doc)
2. Print |<Title>| & titlename(0) & |</Title>|
No comments:
Post a Comment