1

I'm successfully importing an XML files into Sharepoint as wiki pages, following this template. However, the HTML that's in the XML is being imported as text, so my page reads "<p>Hello World</p>...". Is there a way to tell Sharepoint to interpret the field as HTML?

Note: in order to import the text using XML, I had to convert '<' and '>' into &#60;and &#62;. I did convert those characters back using replace

1 Answer 1

0

When using html code into XML files, you usually need to use the "CDATA tag" stuff.

This link can be helpful: https://stackoverflow.com/questions/2784183/what-does-cdata-in-xml-mean

1
  • Hi @william Bernal, Thanks for the input, but I want to do the opposite of what I understand CDATA to do. Sharepoint is currently interpreting all my markup as plain text, but I WANT it to be interpreted as HTML. Commented Apr 7, 2016 at 15:36

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.