I was trying to fix and import the XML code in this topic: viewtopic.php?f=3&t=181, at first it was not well formed but after solving that I still had problems, I found CN can't import XML like in the test case below. Please, before importing, add a space before </note>. It seems CN doesn't like leading whitespace, so without a space before </note> it will work ok, with a space it will be not responsive during import and after some time I had to terminate CN with Task Manager
Code: Select all
<note title="" date="2009-06-17" time="12:00:00" source="" link="" tags="">
I also had problems with the encoding, now I have two dozens of XML files on the desktop and and I have a bit lost myself so I'll ask directly. What Unicode encoding does CN want for importing and does it look for a BOM at the beginning of the file? It seemed to me it wants UTF-16 with a little endian BOM at the beginning but I would like to see a confirmation. Will other flavours like UTF-8 work?
I also found the minimal XML it will accept it's like in the example I wrote, it requires non empty values for date and time. I think the requirement for the encoding and an example of the minimal working XML note might be written somewhere on the forum or in the FAQ