-
I am working on PugiXML based XML Creation and Parser plugin for Unreal Engine 5. It is open source and you can access it from https://github.com/FF-Plugins-Docs/FF_PugiXml Before starting PugiXml, I created an XML plugin with TinyXml but I got some problems with Turkish characters. If you find it useful and correct, I can add it to Show off section, too. My roadmap
As mentioned on different topic, I added But I have a problem about child node's value. So, I wrote these codes but XML result comes like this.
and I want my result like this
this is my blueprint nodes. As you can see on my result, calling Is there any suggestion for that ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I would recommend checking if
What happens is that your COMPANIES node has a first child that is pcdata (with empty value). The node formatting code disables automatic indentation in a condition like this because it assumes that the pcdata child will have some custom formatting of its own. So as long as this line doesn't execute for COMPANIES you should see consistent indentation for all child nodes. |
Beta Was this translation helpful? Give feedback.
-
You rock, sir ! |
Beta Was this translation helpful? Give feedback.
I would recommend checking if
NodeValue
is empty before running this line:What happens is that your COMPANIES node has a first child that is pcdata (with empty value). The node formatting code disables automatic indentation in a condition like this because it assumes that the pcdata child will have some custom formatting of its own.
So as long as this line doesn't execute for COMPANIES you should see consistent indentation for all child nodes.