Hi,

XWiki Pages are stored as XML files. You can look at the XML representation
of a standard XWiki pages (export as XAR, rename to ZIP, unzip, look inside
the folder). Then try to find which XWL fields from your original XML format
could be converted into XWiki document fields (especially web, name, title,
creation date and content).

Once you've decided which mapping to use, write and launch your XSLT script.
Then you'll have a bunch of XWiki pages as XML. Look at the output of a
XWiki XAR export to see what the description file looks like and write one
with the name of your pages inside.

Put everything into a folder, zip it, rename it to .xar, try importing it.
If the import fails, try splitting it into a number of smaller XARs.

Hope this helps,

Guillaume

On Sat, Feb 14, 2009 at 12:10 PM, Gerritjan Koekkoek <
gerritjankoekk...@gmail.com> wrote:

> Hi.
>
> We have a repository of articles (our Old CMS) we would like to import
> into xwiki automatically.
> These Articles are in a propietary XML format, one XML file per article.
>
> What would be the best approach?
> We have ability to restructure/transform xml into another xml by means
> of xslt.
>
> Which approaches could we research?
>
> Gerritjan
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://guillaumelerouge.com/
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to