Closed (fixed)
Project:
Taxonomy import/export via XML
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Dec 2005 at 16:29 UTC
Updated:
3 Jul 2007 at 07:24 UTC
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