[Hippo-cms7-user] Import tool

nvankampenhout nvankampenhout at yahoo.co.uk
Sun Nov 29 18:18:42 CET 2009


New question: how to handle compound types?

My XML documents contains something like:

<document>
  <categories>
    <category>
      <id>123</id>
      <name>foo</name>
    </category>
    <category>
      <id>456</id>
      <name>bar</name>
    </category>
  </categories>
</document>

This is to be converted to the following JCR:

[myns:mydoctype] > myns:basedocument
+ myns:categories (myns:category) multiple

[myns:category] > nt:base
- myns:id (string)
- myns:name (string)

I can't find anything in the documentation or the example about this.

Thanks,
Niels
-- 
View this message in context: http://n2.nabble.com/Import-tool-tp4074577p4083608.html
Sent from the Hippo CMS 7 mailing list archive at Nabble.com.



More information about the Hippo-cms7-user mailing list