• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to get the current document XML

Contributor ,
Jun 07, 2021 Jun 07, 2021

Copy link to clipboard

Copied

Hi Everyone,

 

How can i read the current document xml file. Kindly help how to read the xml file.

 

Thanks,

-Jothipriya

TOPICS
How to , Scripting

Views

199

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 07, 2021 Jun 07, 2021

Copy link to clipboard

Copied

If you're looking to see how the XML structure is for your document, use the View>Structure>Show Structure menu command. That opens the Structure panel, where you can view and manipulate XML formatting in the document. There are also other quick toggles available in the View>Structure> sub-menu which will help your tasks.

 

Hope this helps,

 

Randy

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 07, 2021 Jun 07, 2021

Copy link to clipboard

Copied

LATEST

If you want to export the XML of the document using the scripting SDK you can use the following

app.documents[0].exportFile(ExportFormat.XML, "Path to XML file to export")

If you want to traverse the XML then the associatedXMLElement property of the document object is your friend. There are lots of samples regarding this on the forum you can study them

-Manan

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines