pydantic-xml icon indicating copy to clipboard operation
pydantic-xml copied to clipboard

[Question] Is there any way of building xml with <![CDATA[...]]> field?

Open DLogunoff opened this issue 1 year ago • 2 comments

Hi. I'm using pydantic-xml to build xml files from json. I faced a problem. I need to add a value and I tried to do it manually, simply using f-strings. But after xml_model.to_xml() my < and > is being replaced by < and >

How can I avoid it?

DLogunoff avatar Jul 19 '24 11:07 DLogunoff