Import of XML
I’m trying to convert several articles into XML format suitable for import into WP. I’ve found that import procedure can read only special formatted XML, which is impossible to achieve via XML->XML transformation using XSLT processor. Code requires some elements to be on separate lines (wp:category) while other elements vice-versa (content of content:encoded element must begin just after/before opening/closing tag). Moreover, each wp:category must be on separate line. If not, only the first one is read. XML import seems to be based on parsing lines (waits exact structure) instead of reading real content of XML tree…
If in my XSLT template instruction <xsl:otput indent=”yes”/> is used, I can import all content easily, but I lose category hierarchy. If XML output is not indented, I can import (but some workaround must be applied) articles into proper category, but content of articles is empty.
Is there any plan to improve import filter to be able to read really content of elements without dependence on linebreaks?
- The topic ‘Import of XML’ is closed to new replies.