Expand my Community achievements bar.

SOLVED

How to convert DITA XML to CQ Supported XML ?

Avatar

Former Community Member

Hi friends, 

Since last month am working in CQ5.

I have used content loader in cq5.4 to upload the xml as node structure in JCR repository.When doing this i came to know that the content loader supports only CQ Support XMLs not DITA XML.

So i want to know the procedure to convert the XML to CQ XML.Please provide me a solution.

 

Thanks in advance

1 Accepted Solution

Avatar

Correct answer by
Level 10

I do not know about DITA XML.  Generally use XSLT to convert from one format to other. So you need to write xslt.

View solution in original post

5 Replies

Avatar

Correct answer by
Level 10

I do not know about DITA XML.  Generally use XSLT to convert from one format to other. So you need to write xslt.

Avatar

Former Community Member

smacdonald2008 wrote...

See this link: http://helpx.adobe.com/experience-manager/using/migrating-data-cq.html

 

Thanks .

Can u provide the sample xslt which done XML to CQ XML conversion.

Avatar

Former Community Member

Thanks.

Can u post any sample XSLT which done XML to CQ XML?

Avatar

Level 2

This example project converts an arbitrary XML format into a CQ Package with XSL, and ANT to run the transformation and zip up the files into a package.

Example conversion: https://github.com/odu/crx-package-xsl-example

Packages can blow away content, so I would highly recommend playing with anything on a throw away dev instance until it's thoroughly tested.