|Atomik Xport SE: Tutorials > Chapter 4 Tutorial 2: Creating Rulesets||<< >>|
You can now use your new ruleset to extract XML from the InDesign document.
You will briefly see a message alerting you that XML is being extracted.
Atomik Xport should now extracted the contents of the InDesign document into the XML Preview according to the ‘Tutorial2.rls’ ruleset you just created.
At this point, only the root element is visible in the XML tree. Pressing the ‘Alt’ key while clicking the triangular icon to the left of the root element ‘Brochure’ in the ‘XML’ panel will expand the entire XML tree. You should be able to see your content has been added as illustrated below.
Note: If you do not get all of the content displayed in the XML Preview when you click the triangle icon to expand the view, or there is no triangle icon to expand, you should go back and check your ruleset against the mapping table in this chapter.
Finally to export the content as XML:
Atomik Xport has created an XML file called ‘Tutorial2.xml’. To view this XML document you can either open it in a standard text editor or alternatively you can view it in Microsoft Internet Explorer™ or Apple Safari.
Note: opening the XML document in a browser will display the hierarchical XML, rather than a formatted webpage, because this time we have not linked an XSL transform to convert the XML to HTML.