Hi guys,
I have some code that needs to create an XML Text Node with a string value.
$vArray = "*/New _test/","*/test/ssh?Name=.&" for($i = 0; $i -lt $vArray.length; $i++) { $xdoc."data_Employ"."conf".AppendChild($xmlPort.CreateElement("FilConf")) $xdoc."data_Employ"."conf"."FilConf".AppendChild($xmlPort.CreateElement(FilConf[$i])) }
When I run this I get "powershell hexadecimal value 0x2A is an invalid character" and many more.
How do I resolve this? I need these characters in the XML doc.