I'm new in indesign scripting, please tell me how to write a script to get the contents of an XML element and then sort all the content

I'm new in indesign scripting, please tell me how to write a script to get the contents of an XML element and then sort all the content

Hello

Can the code below is useful for you, but I do not know how to sort.

Change the tag based on your employment application.

Tags: InDesign

Similar Questions

  • I bought Lenovo G550, 6 months before and now I m is problem with key product of Windows because of the striped top, so please tell me how it would be possible to get this product key

    I bought Lenovo G550, 6 months before and now I got problems with my PC and have problem with the Windows product key due to scratch on it, so please tell me how it would be possible to get this product key.

    Behind my laptop, here is a sticker mentioned
    Proof of license
    Certificate of authenticity
    Microsoft
    Microsoft Corporation @2005
    X 15-53803
    and on the bar code is mentioned after the number.
    00.94 - 893-397-158
    Product key. M... 62-8GX88-69-... - f7b

    Hello BHASKARPIYA,

    Product Key Finder programs, if someone advises to use, is found only on your operating system preinstalled a Levono multiple factory facilities and will be of no use in these circumstances.

    You will need to contact Lenovo and request their assistance.

    Or a way around this is to buy a Lenovo recovery DVD to reinstall the operating system or use the built-in recovery Partition containing an image of your OS and reinstall Windows like that.

    No method requires a product key to be entered by you.

  • could you please tell me how to start to make flowers for the party and is the best soft

    could you please tell me how to start to make flowers for the party and is the best soft

    I've never done this, then go to desktop applications Adobe Creative Cloud | Adobe Creative Cloud and click on programs to read a description of what each program does

  • Install a new version of Flash Player requires a password.  The system refuse my password, even with a new revised password.  Please tell us how to do this.

    Applications for installation of FlashPlayer rejects my password, despite further revisions.  Please tell us how to do this.

    As soon as you put on your computer, you chose a password. This has nothing to do with Adobe ID. It is the administrator password that you need now.

  • With the changes made in the Adobe Acrobat DC he has made things more difficult for me. All I want to do is to rename a file. Used to be simple. Please tell me how to rename a file without using the cloud. I'm not paying for storage when I have an SD card

    Hate the new update.  I need to rename files and cannot do without using the cloud.  Could not sign in the cloud free services.  Someone knows how to rename the files with Adobe Acrobat DC? I use a HD with Android corner.

    Do you have any file manager installed on your device? This feature is no longer available in the latest version of Acrobat DC but we actively seek to provide the same in one of our future releases. To work around the problem, you will need to duplicate/rename the files using a third-party file manager application.

  • Will someone please tell me how to access the last good known Configuration. And how to start up in Mode safe

    GREETINGS TO ALL READERS

    Someone please help me solve the following problems?

    Something inexplicable happened to my computer on January 12, leaving my hard drive in a mess and my computer unstable and leaving the restoration system does not.   However, Reatore system works now, but only today's date.  I can't go back to an earlier date. I need to do because of the unstable behavior of my computer.  System Restore is repairable to instead re - install? If this isn't the case, please tell me how to re - install.

    In addition, NTLDR is missing. Could be the cause of the instability of the computer and the problem with the system restore?   And willl you please tell me how to restore NTLDR.

    Thanking the Good Samaritan (s) in dvance for any help.

    MAY THE FORCE BE WITH YOU ALL.

    Brad
    .

    Hello

    Thank you for your response.

    1. the issue resolved?

    Please get back with the results so we can help you better.

  • Can you please tell me how a) stop the compatibility check and b) stop which is the new page that appears every time. Thank you

    Having recently updated Firefox to version 20.0.1 I get the compatibility check every time and also the what's new page. Can you tell me how to disable them, please.

    Hello rodale, what you see is probably a side effect of firefox is not able to save some preferences in the profile folder.

    go in firefox > help > troubleshooting information, click on file/show profile folder and close all firefox windows later. a windows Explorer window should open - to delete the file named user.js.

    in case this has not solved the problem yet see also How to set preferences that will not save.

  • Freshly installed v 5.0.1 3.6 v want to save a tab currently displayed, put in a folder of bookmarks as I have done before. Looked about for a way of doing-no luck so far. Please tell us how do in the new version. Thank you.

    Freshly installed v 5.0.1 3.6 v want to save a tab currently displayed, put in a folder of bookmarks as I have done before. Looked about for a way of doing-no luck so far. Please tell us how do in the new version. Thank you.

    Sorry, it's because of an add-on I installed. I edited my previous post, hitting on this part of the menu bar.

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

  • I replaced 3.6 with 4.0 and it will not work on my mac OSX 19.4.11 and need to reload 3.6, if you please tell me how

    Your home says page version 4.0 is ready to download on my mac, indicating that it will work with my version (OS x 10.4.11). After loading, my computer asked me if I wanted to replace the new version with my computer, with a complicated language that I discovered meant that I had to stay with 3.6 and remove the addition of version 4.0. Well, I deleted the 3.6, added to version 4.0 and my computer now tells me that this version of Firefox is not compatible with my computer. Please tell me how I can recharge 3.6, have Firefox and enjoy again! Thank you, Tom

    Unfortunately, Firefox 4 supports only Mac OS X 10.5 or higher Intel processor. The system you are currently using is no longer supported by Firefox (details can be found here).


    You can revert to a previous version of Firefox by following these steps:

    1. Open the Applications folder.
    2. Drag the Firefox application to the trash.
    3. Download and install Firefox 3.6 from here.
  • I want to use an older version of Photoshop. I have the official copy, etc. of activation key. However, whenever I start Photoshop it requires registration. I tried internet registration and phone, but they seem to not work. Please tell us how regisyter t

    I want to use an older version of Photoshop. I have the official copy, etc. of activation key. However, whenever I start Photoshop it requires registration. I tried internet registration and phone, but they seem to not work. Please tell us how to register the product. It's Adobe Photoshop CS version 8 for Windows.

    The CS/CS2 activation servers have been removed. Download CS2 and use the new number given to the right of the download link.

    ml https://helpx.adobe.com/x-productkb/Policy-Pricing/Creative-Suite-2-activation-end-Life.HT

  • Can someone please tell me how "interspersed;" in history. I really don't want to have to repeat the slugline.

    I would like to show a cell phone conversation in my script but I don't see a ' interspersed with: "selection in the Actions drop-down options.  Or, will you please tell me how interspersed in adobe story.  Thank you!!!

    You can try:

    INTERSPERSED - TELEPHONE CONVERSATION (just use "topics, scene" to write this)

    (dash character) 1 the APPELLANT

    (dialogue)                     Text of presentation

    2. THE APPELLANT

    Meet blurb

    and so on until the next scene section is required.

    This allows the Director total freedom as to the time of interspersed between speakers.

    Leave it with you.

  • Can I upgrade my Acrobat 8.0 Standard sort of license?  If so, please tell me how to do it.

    Can I upgrade my Acrobat 8.0 Standard sort of license?

    If so, please tell me how to do it.

    Thank you.

    You need at least Acrobat 9 to benefit from updates, so it's a moot point. Simply purchase a new license to the current version.

    Mylenium

  • Please tell ME how to create this ROLLOVER animations :(

    Hi my dear friends! I'm glad that you're here and I ask my questions ^_^:-*.

    I see very cool animation on rollover effect, and my guess is that they are in the HTML theme! now I show you what I see, and please tell me that this animation is possible in muse of adobe or not! I don't know that we can create this in adobe muse without any programming or not: s

    Please tell me how can I make cela 6 ROLLOVER ANIMATION effects

    Online video:

    1 http://bazigush.ir/99/1.html

    2 http://bazigush.ir/99/2.html

    3 http://bazigush.ir/99/3.html

    4 http://bazigush.ir/99/4.html

    5 http://bazigush.ir/99/5.html

    6 http://bazigush.ir/99/7.html

    and how do I set a msg of wellcome like this:

    http://bazigush.IR/99/6.html

    Hello

    Some examples can be made very easily in Muse and some may not...

    Here are some useful links to help you do some of them

    1. it is a "status button" ( Adobe Muse November 2013: new State Widget button... )

    ' 2. something like this could be done using several ' Composistions (white) "all lined up side by side:

    3. it is also a "status button"

    4. it is not possible unless you go first to something as Edge animate.

    5. it is possible, but it takes a bit of do-it-yourself - Adobe Muse Tips: sliding menu - YouTube

    6. a pop up is possible, but not with a form like you for example

    7 4. It is not possible unless you go first to something as Edge animate.

    Hope that helps your process and design the appearance of the end of your site

  • InDesign script to put the excel file

    Hi all, I'm new to Indesign Scripting, and I hope someone can help me with the following code:

    All I want to do is:

    1. Open the indesign file
    2. Open excel file
    3. ExcelFile place as a table (with active flow)
    4. export as PDF & save document

    Thank you!

    //Define file to open
    var myDocumentFile = new File("/d/Projecten/Indesign Server/document.indd");
    //Define file to save
    //var mySaveFile = new File("/d/Projecten/Indesign Server/document_save.indd");
    //Define file to export
    var exportPDF = new File("/d/Projecten/Indesign Server/document_save.pdf");
    //Open xls-file to place as table
    var myExcelFile = new File ("/d/Projecten/Indesign Server/products.xls");
    
    var result = "";
    if(!myDocumentFile.exists) {
        result = "Unable to find DOCUMENT:  " + myDocumentFile.path;
        $.writeln(result);
        exit();
    } else if(!myExcelFile.exists) {
        result = "Unable to find EXCEL:  " + myDocumentFile.path;
        $.writeln(result);
        exit();
    } else {
        // Open file
        var myDocument = app.open(myDocumentFile);
        with(app.documents.item(0).pages.item(0)){
            myTarget = textFrames.item("tabel");
        }
        var myPage = myDocument.pages.item(0);
    
        //Set excel placement properties
        setXLimportPrefs();
    
        // Place Excel file
           try {
                 $.writeln("Place Excel file");
                //HELP!! HOW TO PLACE EXCEL FILE?
                //myTextFrame.place(myFile);
            }
            catch (e) {
                 $.writeln("Place Excel file "  + e + " " + app.excelImportPreferences.errorCode);
                myDocument.close();
                exit();
            } 
        if(!exportPDF.parent.exists && !exportPDF.parent.create()) {
            result = "Not exported.  Unable to create the folder:  " + exportPDF.parent.fullName;
            $.writeln(result);
        } else {
            app.documents.item(0).exportFile(ExportFormat.pdfType, exportPDF, app.pdfExportPresets.item("[Press Quality]"));
        }
        myDocument.exportFile(ExportFormat.PDF_TYPE,exportPDF);
        myDocument.close();
    }
    
    function setXLimportPrefs(){    $.writeln("setXLimportPrefs()");
            with(app.excelImportPreferences){
                //alignmentStyle property can be:
                //AlignmentStyleOptions.centerAlign
                //AlignmentStyleOptions.leftAlign
                //AlignmentStyleOptions.rightAlign
                //AlignmentStyleOptions.spreadsheet
                alignmentStyle = AlignmentStyleOptions.spreadsheet;
                decimalPlaces = 4;
                preserveGraphics = true;
                //Enter the range you want to import as "start cell:end cell".
                rangeName = "A1:B16";
                sheetIndex = 1;
                sheetName = "Appetizers";
                showHiddenCells = false;
                //tableFormatting property can be:
                //TableFormattingOptions.excelFormattedTable
                //TableFormattingOptions.excelUnformattedTabbedText
                //TableFormattingOptions.excelUnformattedTable
                tableFormatting = TableFormattingOptions.excelFormattedTable;
                useTypographersQuotes = true;
                viewName = "";
            }
    }
    result;
    
    

    myTextFrame is not defined in your script.

    It works for me:

    myTextFrame = app.selection[0];
    var myExcelFile = new File ("~/Documents/idml/some file.xlsx");
    myTextFrame.place (myExcelFile);
    

    -When I select a text block, of course.

    To debug this, you can remove the try... catch statements because they're actually hiding the error now: InDesign can place the file, but the variable does not exist.

    Thankfully, I fell it many times before.

  • Can you please tell me how to make the thicker arrows on the Pages.

    Can you please tell me how to make the thicker arrows on the Pages. Thank you very much. There is something incredibly simple to do, but I, having a disconcerting brain, am totally unable to understand. Please please help me. Thank you

    < re-titled by host >

    Try here > Pages for Mac: Add and edit forms

Maybe you are looking for

  • t bird is not save my sent/reply messages

    everything I could about this, needing a bailout, help checked.TNX Gary

  • Mac cannot connect to iCloud

    I can't get my email this morning. I get the popup panel that says "this Mac cannot connect to iCloud due to a problem with"my account" I can't send on any of my devices. Can I go to my email to an internet account in the meantime?

  • Equium L20 - memory does not display correctly?

    Hi I just bought an Equium L20. First time I had a Laptop.In the card it says 256 MB memory. But when I checked the system it says I have 192 MB. Where's the other the 64 MB? Or am I just drive I thought. [Edited by: admin November 13 05 13:03]

  • Satellite L300-1AQ - Bluetooth tray application has stopped working

    When I put my laptop it comes up with an error that says: * bluetooth tray application has stopped working *. A problem has caused the problem to stop working correctly.Windows will close the program and notify you if a solution is available. Anyone

  • Is it possible to scroll on the y-axis of a graph of digital waveforms?

    Hello! I use LV 8.5.1 and I want to draw 64 signals on a graph of digital waveforms. But if the graphic is too small, I see not all signals, and if I enable auscale on the Y axis, so the signals are not recognizable. Is it possible to activate the sc