Taxonomy XML exports a file with no line breaks, which makes it extremely difficult to human read. Since the purpose of doing the export was to translate all the terms and load back in a different language, I put line breaks between the XML tags to make it more human-readable.
As a result, when I came to load the vocabulary file back in, everything loaded ok except that the hierarchy between child and parent terms was lost and I ended up with a flat hierarchy.
Workaround: use an XML editor that gives you a nice presentation without mucking up the structure! I found one called XML Fox Advance which I rather like, if you don't mind installing a wadge of MS .NET stuff on your workstation.
Comments
Comment #1
sami_k commentedNeed to use a better XML library in this module, any recommendations are welcome... has to be 4.x compatible though as the adoption of php5 is relatively low.
Comment #2
nicolash commented