I have a .txt tab delimited file with a '->' (hexadecimal value 0x1A) in one of the columns (F45).. Is there a way to skip or convert that value before I convert it to xml to my notes section. When I try and parse the hexadecimal value and then send the xml to my web service address, I get this error
exception.InnerException.ToString(): System.ArgumentException: ' ', hexadecimal value 0x1A, is an invalid character. sent to my web service address. (after parsing)
Here is my current xslt
<xsl:strip-space elements="ACode AReceived" />
<xsl:template match="/">
<soap:Envelope xsl:version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Report xmlns="http://blank.com">
<DispatchHeader>
<Notes>
<xsl:if test="string-length(/NewDataSet/Row[F1='INCI']/F45)>0">
<Note>
<xsl:value-of select="/NewDataSet/Row[F1='INCI']/F45"/>
</Note>
<Notes>
Thank you for any help Rookie Josh