2022.2

Table Of Contents
apagehasthesameorientationasthepage,notwhentexthasbeenrotatedafterthepagewas
rotated.
Thepagenumberandrotationofapageareshowninthestatusbaratthebottom,nexttothe
regionselectioninformation.
Using the wizard for XML files
TheDataMapperwizardforXMLfileshelpsyoucreateadatamappingconfigurationforanXMLfile.
Thewizardletsyouselectthetypeofnodeandthetriggerthatdelimitthestartofanewrecord.Next,
thewizardextractsthedatainoneextractionstep.
ThiswizardcanalsobeusedtoextractdatafromaJSONfile.JSONfilesareautomaticallyconverted
toXML.
IfthereisnorootelementintheJSONitwillbeaddedandeachobjectwithoutanamedparentelement
iscalledan'item'.
Notethatinadditiontobeingvalid,theJSONshouldfollownamingrulesforXMLelements.For
example,"adress_line_1:"isavalidkeynameinJSON,butitcannotbeconvertedtoavalidelement
nameinXMLbecausethecolonisreservedfornamespaces.ForXMLnamingrulesandbestnaming
practices,see:XMLelementsonW3Schools.
Thewizardcannotcreatedetailtables.Ifthefilecontainstransactionaldata,thedatamappingcon-
figurationisbestcreatedwithoutawizard(see"Creatinganewdatamappingconfiguration"on
page200).
TherearetwowaystoopenanXML/JSONfilewithawizard:fromtheWelcomescreenorfromtheFile
menu.
l
FromtheWelcomescreen
1.
OpenthePlanetPressConnectWelcomepagebyclickingthe iconatthetoprightor
selecttheHelpmenuandthenWelcome.
2. ClickNew DataMapper Configuration.
3. FromtheUsing a wizardpane,selectXML.
4. ClicktheBrowsebuttonandselectthefileyouwanttoworkwith.ForaJSONfile,change
thefiletypetoJSONfirst.ClickNext.
l
FromtheFilemenu
1. Inthemenu,clickFile > New.
2. ClicktheData mapping Wizardsdrop-downandselectFrom XML File.
3. ClickNext.
Page 213