Am newbie to Tridion, I would like to parse an XML file and load its content into SDL Tridion 2011. can some help me on this.


2 Answers 2


I'm assuming from your question that your 'source' data is in separate XML files (or a large XML document) and you want to parse these (this) using Java and create new Components in Tridion with this content.

If this is the case, then there are lots of tutorials online for parsing the XML.

With regards to creating the new Components, you will want to use the Core Service. This is a Web service that allows applications to interact with the Content Manager. You can get started with this by checking out the Interacting with the Core Service from Java section of the online documentation.

You may also want to consider using Mihai's Core Service Java Client.

This should give you a good start.


Tridion uses structure of schema, which is nothing but actual xsd schema.

The import process can be divided into following steps:

  1. Based on xml file structure, create single or multiple schema (xsd). This can be manual step to create schema.
  2. Create component based on schema defined in step 1 and update the component content from xml file using core service.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.