AnsweredAssumed Answered

Import XML and Associate with Form

Question asked by kooktroop on Mar 8, 2007
Latest reply on Mar 8, 2007 by arielb

I'm trying to import my XML content into WCM. Copying and pasting isn't a good idea due to the large number of files and the possibilities of resulting errors. So, I would rather automatically import them by copying them across.

To test it out I created a form (simple.xsd) and then created the file test.xml using the form. I then saved test.xml as text_import.xml and modified it to look like:

<!– test_import.xml –>
<?xml version="1.0" encoding="UTF-8"?>
<pm:content xmlns:pm="" xmlns:alf="" xmlns:chiba="" xmlns:ev="" xmlns:xf="" xmlns:xhtml="" xmlns:xs="" xmlns:xsi="">
  <pm:name>imported test</pm:name>
  <pm:description>this test is an import!&lt;br /&gt;</pm:description>

After browsing to this test_import.xml I clicked edit and was given the standard "save this file…" etc. rather than being able to edit through the nice simple.xsd form that appears when I edit the original, test.xml.

Am I doing something wrong? Or is this type of operation not supported?

Thanks in advance.