Hi all,

I'm looking for a replacement of the standard JCR session.importXml() as this does not seem to support multi-valued properties like the FileVault "enhanced docview serialization" does. I've been looking into the JavaDoc [1], but it is not obvious to me what the easiest replacement for session.importXml() would be. I'm looking for something like

VaultFile vaultFile = VaultFile.fromXmlString("<jcr:root ...><jcr:content myMultiVal=\"[val1,val2,val3]\" ....></jcr:content></jcr:root>");
new Importer(session).importVaultFile(vaultFile);
session.save();

The above is roughly based on classes from the API [1] but obviously doesn't work. Could someone provide a code fragment on how to achieve the above?

Best Regards
Georg

[1]
http://jackrabbit.apache.org/filevault/apidocs/index.html

Reply via email to