Create XML from Text File with specific schema

Hello,

i have a text file with a certain schema like:

<Main>
  a=0.8
  b='test'
  <settings>
    settingsname='sometext'
    settingsvalue=1
    <setting1>
      <s1>
        num=1
        alias='sdsada'
        stext=silent
      </s1>
      <s1>
        num=2
      </s1>
    </setting1>
  </settings>
</Main>

Is there a way to convert it into an xml?
Greetings…

Hi @Tim8200,
I’ve tried to convert your example txt file to xml here: txt to xml file – KNIME Hub Let me know if it works

3 Likes

Thanks, works fine !

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.