am forming a xml format in the UI created in my form in SP2013. I am creating a xml file having elements and nodes, now I need to insert this dynamically generated xml file into a multi-line text column in my splist, how to achieve this. As far as I know, SPList doesn't have a xml column data type.

  • Does it matter? As long as you have selected plain text it should be fine.
    – Bunzab
    Commented Nov 23, 2016 at 9:25
  • but , I am unable to insert into that list column . also I need to retrieve as well.
    – samolpp2
    Commented Nov 23, 2016 at 9:28
  • Edit your question with your code.
    – Bunzab
    Commented Nov 23, 2016 at 9:34
  • its higH time MSFT would start create a datatype "XML" in SPLIST and SP DOC LIB.
    – samolpp2
    Commented Nov 24, 2016 at 9:43

1 Answer 1


Ensure that it a multiple line text column of type Enhanced rich text as below:

enter image description here

I created a column using this and was able to add xml data as below. Below is screenshot of the item display form:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.