How to convert DITA XML to CQ Supported XML ? | Community
Skip to main content
October 16, 2015
Solved

How to convert DITA XML to CQ Supported XML ?

  • October 16, 2015
  • 5 replies
  • 2268 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

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

5 replies

Level 2
October 16, 2015

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.

October 16, 2015

Thanks.

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

October 16, 2015

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.

smacdonald2008
Level 10
October 16, 2015
Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

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