I need to find all of the XML elements and add a line break for the text of each of them

I need to find all XML elements and to add a line break the text of each of them.

Is it possible with a script?

Try this piece of code as it is. I hope that's what you want...

var myDoc = app.activeDocument;
var inddRooElement = myDoc.xmlElements.item(0);
var xPathElements = inddRooElement.evaluateXPathExpression("//*");
var elementCount = xPathElements.length;
for(var eId=0; eId

----------------

Green4ever

Tags: InDesign

Similar Questions

  • Satellite Pro L40 PSL43E I need to find all the drivers XP

    I need to find all the XP drivers for this laptop in particular. Any ideas where I can find them. on this site, I get only the ' how downgrade "Pease help ASAP.

    If these drivers are available, you will be able to find these drivers on the European driver Toshiba page.

    If the drivers are not available on the European driver Toshiba page, the pilots were not released.

    But I have a suspicion; I found some XP for Sat L40 series drivers. Some series supports the same devices and so the drivers should work also.
    Check some unique XP from different L40 series drivers and maybe he would go.

    Ciao

  • How to set the name of the author and where I find all of the debug option token during the race or the creation of the application on QNX IDE?

    How to set the name of the author and where I find all of the debug option token during the race or the creation of the application on QNX IDE?

    Here is the error

    Failure of deployment: Info: request shipment: install and launch
    Info: Action: install and launch
    News: Native debugging: on
    Info: File size: 219949
    Info: Installing com.example.UIBB10AppTest1.testDev_B10AppTest15dd51c62...
    Info: Treatment 219949 bytes
    actual_dname:
    actual_id:
    actual_version:
    result::failure 881 the application author does not match the author token of debugging

    The author information is located in the bar - descriptor.xml in the tab "General". But the information must be defined automatically. In addition, you must install the token debug on your device.

    If everything is configured properly there is only one problem that happened to me. I had several chips debugging Momentics. I had to remove all chips debugging and leave alone the I want to use. Perhaps, you have also several debugging chips installed in Momentics. This seems to be a bug in Momentics who can't handle several chips debugging.

  • Setup could not find all of the products available for installation. Windows Update suggests to install 125KO Office 2007 SP1 repeatedly.

    Hello!
    Update for Windows Vista x 64 to Windows 7 x 64 caused the following errors:
    By clicking on the "Edit" button in "Programs and features" with Office 2007 trial selected gives an error "Setup error".
    Setup could not find all of the products available for installation. Please contact your systm administrator. "in Windows 7 x 64. Run the installation of Office 2007 trial version downloaded the file to change the components OK works.
    How to operate the button "Edit"?
    Windows Update suggests to install 125KO Office 2007 SP1 repeatedly. I agree to install each time, updates installs "successfully", but suggest Windows Update to install next time. It started to happen after uninstallation and reinstallation of Office 2007.
    Kind regards
    Dima

    125 KB is obviously not a ServicePack because this would be much MB in size, you have a number of KB (knowledge base) to go with the annoying update?

    How to use a Setup log file to troubleshoot installation in Office
    http://support.Microsoft.com/default.aspx/KB/826511

    How to read the Windowsupdate.log file
    http://support.Microsoft.com/kb/902093#appliesTo

    Try running ChkDsk to check your drive for errors. Right click on your drive icon / properties / tools / error checking.  Try first by checking do not each box (that it will run in read-only mode) to see if it reports any problems file or hard drive.  If so, restart it by checking both boxes and restart to allow him to attempt to fix any problems found.

    As for the "Changes" problem that I have no real solution for this, only that you remove every bit of desktop of your machine and everything don't reinstall desktop applications you need.  It could be a corrupted registry which is behind this problem.

  • MacBook pro work leave because of pulled and broken wire.  I took out the hard drive.  the hard drive has all my files that I wouldn't need to clear all of the other personal files?

    MacBook pro work leave because of pulled and broken wire.  I took out the hard drive.  the hard drive has all my files that I wouldn't need to clear all of the other personal files?

    It does not start to the top, screen and hardware ok except belt disconnected.

    also can I sell adapter, brand new, never used. where can I sell?

    Hi Wally, the hard disk OS X and all of your files. Get a case for your reader, and it backs up. Try OWC

    Always keep your Mac backed up on an external drive with Time Machine or utility of cloning like SuperDuperor double clone.

    Try eBay for the adapter.

  • My iPad and iPhone will be printed using AirPrint on my printer HP Deskjet 2540 for about 40 minutes and then will not be able to find all of the available air printers. No idea why.  The deskjet printer shows that there is a wireless connection.

    My iPad and iPhone will be printed using AirPrint on my printer HP Deskjet 2540 for about 40 minutes and then will not be able to find all of the available air printers. No idea why.  The deskjet printer shows that there is a wireless connection.

    Hi Mpsfeldt,

    Thank you for using communities Support from Apple!

    Your question, it looks like you are only able to use AirPrint sporadically. We know that situations of this kind can be frustrating, but we are here to help.

    To begin the process of solving problems, I suggest you to read about the section If you can not print on your printer AirPrint in the following article.

    On AirPrint - Apple Support

    Best!

  • 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.

  • I have 10 pdf files I want to merge to make 1 large pdf. I want to be able to search the content of each of them, in order to make 1 large pdf let me do this... I hope. Which product do I need to merge and create this big 1 pdf in Adobe?

    I have 10 pdf files I want to merge to make 1 large pdf. I want to be able to search the content of each of them, in order to make 1 large pdf let me do this... I hope. Which product do I need to merge and create this big 1 pdf in Adobe?

    You can use Acrobat Pro to combine multiple PDFs into a single PDF.

    You may be able to use Acrobat Standard as well - not sure.

    In my view, there is also a the Adobe online subscription service hosts that combine multiple PDFs into a single PDF.

    As for search. To make available content of every PDF should be text with a font mapping of characters of the regular police having families (each character we see ("glyph") represents a specific numerical value, which is held in the file under the hood) which in turn has a correct mapping to Unicode.  If there are pages that are the output of text parser image then make sure you use OCR to get the result of the OCR to support search/search.

    With all the 'one' PDF support find simple. Using Acrobat Pro, you can embed a search Index. This is a simple step. For full service advanced search use Acrobat Pro to create a stand alone catalogue Index (see the help file).

    Be well...

  • Glimpses of well site in Firefox locally, but when I published the site all of the text is the wrong size

    I'm a web designer from recruit. I recently created a site using CS6. http://www.joshuahetzler.com when I presented a preview site in Dreamweaver, it seemed fine in Firefox and IE. I published the site and now it is messed up in Firefox. All of the text is the wrong size. Does anyone know how to fix this? It has something to do with my hosting provider? (I deleted a wordpress site in the directory a hourago and put this new site in its place) Why IE will display correctly, but not Firefox...

    Caused by a bad link to your site's CSS file.  It's pointing to a file on your hard disk local that no one but you can see.

    Open your template and reconcile the path to the folder of your site.  Probably, it should look like this:

    Save the model.  Fill out the changes made to the pages of the child.  Download the child pages.

    Nancy O.

  • I foolishly used my camcorder to the outside and the clips are too bright. How can I change the contrast on each of them in Movie Maker?

    I foolishly used my camcorder to the outside and the clips are too bright.  How can I change the contrast on each of them in Movie Maker?

    Use the effects... Decrease brightness / contrast down.

    Here are the steps to change all the clips on the timeline in a batch.

    Drag all the clips on the timeline... switch to... See the table of Storyboard.

    Reach... Edition / select all, or select an element and type... CTRL + A...

    Make a right click the effect you want to add and choose... Add to storyboard table.

    You can add up to 6 cases of an effect, but you need to left click
    a clip and "select all"... or type... Time of .ach Ctrl + A...

    It may take a little practice to master this, but it's easy once you see
    what he can do.

  • I designed my social media buttons. How can I add the link to each of them. For example: How can I add my Facebook link to my button on my muse site face book?

    I designed my social media buttons. How can I add the link to each of them. For example: How can I add my Facebook link to my facebook on my site of muse button?

    Hello

    Please select the button that you created and go to the hyperlink tab, and add the URL of the facebook page here.

    Please take a look at the screenshot below.

    Concerning

    Vivek

  • I'm taking a vector object, say a flower, compensate for a path, then get a vector path around the outside edge of the offset.  I take my flower, add a line, compensate for this trait, then select Add to Pathfinder, which gives me visually the exact offse

    I am taking a vector object, say a flower, compensate a path then get a path independent vector around the outside edge of the offset.

    I take my flower, add a line, compensate for this trait, then select Add to Pathfinder, which gives me visually the exact shape of offbeat perimeter I'm looking for.  The problem is that this isn't a vector path in its own right.  Is there a way to get Illustrator to recognize the lag shot as it is vector own way

    Please forgive me if my terminology is off that I am not a formally trained graphic designer.

    MP,

    If I (put) understand it, object > decaying appearance.

    There is a difference between effect > Pathfinder and window > Pathfinder.

  • How get the text of each paragraph when a textStyleRange is made of texts to multiple paragraphs

    Hello

    Always on my account findText. The result is sometimes as a textStyleRange which contains the texts of multiple paragraphs. What is the best (and easy) way to get the text of each paragraph individually?

    Example: The result of an italic findText with the following extract gives me "saectur quatur? " " Ipsapidunte our" as a unique textStyleRange (correct) but I want to get the text of each paragraph.

    Is there a way to force the findText in the paragraphs and not those of them and if not, how to cut the textStyleRange in 2 texts?

    -----------------------

    Our Ipsapidunte and eumquosame derepre id ulparch iliquae offic tem faccusd aecaborrum, sequi aut doloreperi quaectem eatem faces very quam, con nullaccus repratur molorio enis modi sumquibus nostemquam and volorum facidunti nonseditati re a dolut dolorest ab idipitem saectur quatur?

    Our Ipsapidunte and eumquosame derepre id ulparch iliquae offic tem faccusd aecaborrum, sequi aut doloreperi quaectem eatem faces very quam, con nullaccus nostemquam repratur molorio enis modi sumquibus and re volorum facidunti nonseditati a saectur dolut dolorest ab idipitem quatur?

    There are two solutions:

    (1) you could be formatted every paragraph with formatting marks that you know doesn't exist anywhere else. In this way, each textStyleRange is guaranteed to end at the end of the paragraph.

    (2) you can access the entire first paragraph: myTextStyleRange.paragraphs [0]. I have not tested, but no doubt it works. You could also do a loop: paraLength = myTextStyleRange.paragraphs.length; for (i = 0; i< paralength;="" i++);="" mypara="myTextStyleRange.paragraphs[i];}">

  • Need to find all the possible child records with SQL

    Hello - I am trying to find a way to solve the following with a sql statement:

    I have a table with columns, and the following values:
    Trans_Id   Parent_Trans_id
    1             null
    2             1
    3             2
    4             3
    So basically, 1 is the master parent and I need to bring all ranks, because they are all ultimately originated due to 1. How to write sql code to return all possible levels associated with parent_id = 1?

    I hope I'm communicate that effectively do this, but please let me know if it needs to be clarified.

    Any help is greatly appreciated...

    Thank you
    Christine

    Hi, Christine.

    I think you want to CONNECT BY, something like this:

    SELECT     *
    FROM     a
    START WITH     trans_id      = 1
    CONNECT BY     parent_trans_id      = PRIOR trans_id
    ;
    

    I hope that answers your question.
    If not, post a small example data (CREATE TABLE and only relevant columns, INSERT statements) and also publish outcomes from these data.
    Explain, using specific examples, how you get these results from these data.
    Always tell what version of Oracle you are using.
    See the FAQ forum {message identifier: = 9360002}
    You will find the answers better faster if you always provide this information whenever you post a question.

  • Need to find all tables in the target using indicators of loading time APPEND and PARALLEL

    Nice day

    Value your machines Way-Back version 10.1.0.4 for a matter of scheme.

    I am trying to identify all the target tables that are currently defined using APPEND it and PARALLEL loading tips. This is the default setting but is not the optimal method in all cases. With several developers who have developed cards for years, most with little background or training, we try to do a bit of cleanup and optimization.

    With about 900 cards it is not possible to do this manually, so I was hoping that someone who has used this old version remember where this information is stored in the old structure of repository.

    Thank you very much!!

    -gary

    Start OMB * more. And then

    OMBCONNECT...
    OMBCC ' /'
    the value of mods [OMBLIST ORACLE_MODULES]
    foreach $mods {} mod
    OMBCC ' /.
    define tabs [OMBLIST TABLES]
    foreach $tabs {} tab
    puts "$tab [OMBRETRIEVE TABLE '$tab' (PARALLEL_ACCESS_MODE) GET PROPERTIES]"
    }
    playing cards [OMBLIST MAPPINGS]
    foreach map $maps {}
    Set mtabs [OMBRETRIEVE MAPPING "$map" GET of OPERATORS of TABLE]
    foreach mtab $mtabs {}
    puts "$map $mtab [PROPERTIES of OMBRETRIEVE MAPPING"$map"OPERATOR"$mtab"GET (LOADING_HINT)]"
    }
    }
    }

    Kind regards
    Jaap.

Maybe you are looking for

  • How to allow some windows popup in 3.6.6?

    Since his arrival in version 3.6.6 I cant get Firefox for all popup windows. Adding names of sites to the list of exceptions makes no difference. Or uncheck the "block popup windows" option. This has happened Each time Firefox opened Is Upgrade 3.6.6

  • The password of Bios HP mini 110-1145NR

    Hello, I seem to have forgotten my bios password for my hp mini. I tried every password I could think of and none of them work for me. The stop code is cnu9384m9d

  • Microsoft Wireless Keyboard 3000v2

    I just receintly started having problems with my microsoft keyboard.  It's a 3000v2 wireless keyboard.  When I type my caluculator button, it will close the program that I am running.  I've updated all the drivers and the intelipoint.  Any thoughts?

  • WebDAV?

    Hi, can I set up my FMS for WebDAV? If Yes, what is my user name and the password is the same as my DCE?

  • WUSB54GSC LOSS NETWORK CONNECTION TO POWER SAVE

    WORKS FINE EXCEPT WHEN THE COMPUTER GOES INTO POWER SAVE MODE. WHEN YOU WAKE UP COMPUTER SOMETIMES IT LOSES THE CONNECTION OR DOES NOT CONNECT TO THE NETWORK, UNLESS I DO IT MANUALLY.