Hello,
I'm a complete noob with XML. Here's what I'm trying to do:
UPDATE ltrVars SET LetterVarXML = '<xml version="1.0" encoding="utf-8" standalone="yes"?>
<LetterVariables>
<Occupant>
<VarType>Text</VarType>
<Name></Name>
</Occupant>
<AccidentDate>
<VarType>DateTime</VarType>
<Date></Date>
</AccidentDate>
<InjuryAmount>
<VarType>Currency</VarType>
<Amount></Amount>
</InjuryAmount>
</LetterVariabels>'
WHERE VarPK = 1
...But I keep getting this:
Msg 9410, Level 16, State 1, Line 4
XML parsing: line 1, character 53, whitespace expected
Google has been of no help whatsoever. Any help or direction would be greatly appreciated.
Thanks,
Jason
I'm a complete noob with XML. Here's what I'm trying to do:
UPDATE ltrVars SET LetterVarXML = '<xml version="1.0" encoding="utf-8" standalone="yes"?>
<LetterVariables>
<Occupant>
<VarType>Text</VarType>
<Name></Name>
</Occupant>
<AccidentDate>
<VarType>DateTime</VarType>
<Date></Date>
</AccidentDate>
<InjuryAmount>
<VarType>Currency</VarType>
<Amount></Amount>
</InjuryAmount>
</LetterVariabels>'
WHERE VarPK = 1
...But I keep getting this:
Msg 9410, Level 16, State 1, Line 4
XML parsing: line 1, character 53, whitespace expected
Google has been of no help whatsoever. Any help or direction would be greatly appreciated.
Thanks,
Jason