You can use the Repository Loader example to perform two tasks:

Convert files to repository items

In order to run the Repository Loader example, follow these steps:

This loads the files from the root path into the ExampleRepository as repository items. The Repository Loader Administration should show the job as completed.

Export repository items to XML

You can use the Repository Loader example to evaluate output by exporting a repository item to XML. Navigate to this page:

http://hostname:port/rl-example/itemAsXml.jsp

This page takes a hard-coded repository item (user001) and outputs it as an XML file.

Examining the XML format generated for a given item descriptor can help you generate compliant XML, or write an XSL stylesheet for the Repository Loader to apply before processing a file’s contents.

Note that for XML documents loading an item descriptor, only one item descriptor can be defined. All generated XML must conform to the ATG schema, however, you can use an XSLT style sheet to put it into the correct format.


Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices