Is it possible to find a xmlelement within a framework of specified text or the specified page?

Hi all

Is it possible to find a xmlelement within a framework of specified text, or in a specified page?

Kind regards

Cognet

Try this (not tested...)

app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = "\\d+|\\w+";
found = app.selection[0].findGrep (false);
for (j = 0; j < found.length; j++)
{
    if(found[j].texts[0].associatedXMLElements[0].markupTag.name == "xref")
    {
        found[j].texts[0].associatedXMLElements[0].select();
    }
}

Vandy

Tags: InDesign

Similar Questions

  • Is it possible to text on the next page?

    I do a form of sheets of A4 format with repeating field and shape of text to the next page flow/objects. is this possible?  pls help.

    Hi Tangnamofool2,

    It is possible with the following things supported:

    (1) make sure that the subform/Page parent in which you have repeating field has the content value sank

    (2) make sure that the option "allow Page break in content" is checked

    If you have any question, you can send the form to me @ [email protected]

    Thank you

    Kumar

  • DC as a sentence installed and I can't find anything! How do I highlight some text in the box, how can I change the text color?

    DC as a sentence installed and I can't find anything! How do I highlight some text in the box, how can I change the text color?

    Hi taraf32044550,

    I think the new user interface can be a bit of a learning curve, but I hope that you really like it when you find your bearings. Please check these tutorials will help you to find your way around: Acrobat DC Learn & support.

    In particular, I think that you will find this tutorial very useful: change text and images in PDF files

    Best,

    Sara

  • Is it possible to find the location in the bookmarks of a bookmark?

    From time to time, it happens that I strongly suspect that I saved a bookmark, but I do not remember exactly where, and I maybe changed a category or subcategory description bookmark in the meantime.

    I usually remember something on the bookmark that allows me to find breast show all bookmarks, but it does not give me the option to rename or re-file the bookmark, category or subcategory.

    View all bookmarks, looks that the field called 'Location' (of a bookmark) should be called "URL" and that there should be another field called 'Location' which tells you where the bookmark is breast show all bookmarks.

    Is it already possible to find the current location of the current bookmark in view all bookmarks?

    If this isn't the case, I ask it is possible.

    The text that appears in "Troubleshooting information" seems not very relevant to my question.

    Without the use of an extension cord, you can click on that bookmark to open the link in a new tab (you can also do offline), and then click the star highlighted at the right end of the address bar to open the dialog box "edit this bookmark".

    See also these two extension that adds a parent column in the Manager of bookmarks (library)

  • Is it possible to find your apple Bluetooth pencil? I lost mine and I was walking around the House by train so he could connect to Bluetooth

    Is it possible to find your apple Bluetooth pencil?

    I lost mine and I was walking around the House by train so he could connect to the Bluetooth, but when I press pencil apple in Bluetooth settings, it says connect to connect. If he has been associated previously, should it automatically connect when bluetooth range

    None

  • Is it possible to find in which case is run in LabVIEW VI programmatically and display it...

    Is it possible to find in which case is run in LabVIEW VI programmatically and display it...

    I have published earlier the plugin Quick Drop here - https://decibel.ni.com/content/docs/DOC-38903#comment-36562 there is more information on how install or use it.

  • Xperia Z2 (stole? possible to find out where it comes from?)

    Hello, I just bought a Xperia Z2 incredibly cheap (about 400 US dollars) which is locked to the carrier 3 THREE, I want to know if it is stolen, it works very well because I use the same carrier '3', but I really don't want to walk around with a stolen phone. My question is, is it possible to find via IMEI number - where the telephone came? in this case HOW? or if not, then how do you do if you think you have a phone stolen in your hands. I bought from a guy in Stockholm and blinded by the beauty of the device and the price that I didn't even ask for id or anything.

    I would be grateful if someone could help me, I'm trying to be as honest as I can, and I certainly don't want to lose a phone as a z2 xperia. I would be happy to return.

    Wish you all the best

    Rafael Angel Milanés

    Hi, if you click on HELP in the dark at the top of the page header, you should find options to contact the Sony Support

  • I had to reformat my computer and lost all my window 8 games. The store has more than some of them. Is it possible to find?

    I had to reformat my computer and lost all my window 8 games.  The store has more than some of them.  Is it possible to find?

    Original title: Lost games

    I had to reformat my computer and lost all my window 8 games.  The store has more than some of them.  Is it possible to find?

    Hello

    Your Store account is independent of any installation of Windows 8. If you have downloaded or bought all the apps store, this information is saved in the store.

    To reinstall your applications after reinstalling.

    1. open the store and make sure that you are connected with your Store account (press the Windows key + I, then select your account).

    2 on the main screen, right click and select your applications on the top toolbar.

    3 in the drop-down Menus, select applications and the sort by name.

    4 in the results, click each application that you want to reinstall , and then click the icon to install the toolbar at the bottom.

    Note: If you have a very large number of applications to reinstall, select a few at a time to reinstall.

    Concerning

  • Is it possible to find out what I did to the previous photo, so I know what to do to duplicate the effect?

    Is it possible to find out what I did to the previous photo so that I will be able to reproduce the effect?

    Nice tip MichelBParis, thank you.

    You don't mention how to get to the last option of conversion and it took me a while to find the menu options in Camera RAW. So I write a page if Judy want to use as well.

    I love the ability to save these default Camera Raw settings to automatically apply to multiple images. Who can save a bit of time as well. Then, when you are finished using these parameters. You can reset Camera Raw in the same menu.

  • is it possible to find pages that are not my favorites?

    is it possible to find pages that are not my favorites?

    Yes, it can be done with a script that runs through the entire tree of bookmarks (this must be done recursively, assuming that there are several layers), runs the command associated with each bookmark and then collects the page numbers in a table. All of the pages in the table at the end of the process are not pointed to by any bookmark.

  • Could not mount the file. It has not been possible to find a filter for the requested command.

    Get the error message:

    Could not mount the file. It has not been possible to find a filter for the requested command.

    Why is - this happens when I open documents using Mac advertising agency and I'm on PC?

    Hi Mikael,

    files have been archived in archive zip-file when transferred via the ftp protocol? I guess, not.

    If the files were already placed in a document, InDesign on the agency side the following workflow might be the solution:

    Office on Mac OSX:

    1 package the InDesign document, as well as placed images and fonts of the necessary document with InDesign packing device.

    2. the folder packed in a zip zip file.

    3. download the zip file to an ftp server

    You on Windows:

    1. download the zipfile to your own workload.

    2 unzip the zip on your workload. Do not delete the zip file.

    3. rename the folder of the package to fit your scheme of naming of jobs (option)

    4 rename the InDesign document to adapt to your schema naming of jobs (option)

    5. open the InDesign file in the packed file.

    Do not move or save somewhere else.

    Alternative:

    Work with Dropbox to share documents on a shared volume of Dropbox, if documents must move forward and backward between you and the Agency.

    Uwe

  • Is it possible to find all photos that are not in a collection?

    Is it possible to find all photos that are not in a collection? I want to find images that do not already belong to a specific collection, but should.

    Hi blue,

    Please take a look at the article, it should be useful: http://www.lightroomsecrets.com/blog/2008/01/selecting-images-not-in-a-collection

    Kind regards

    Tanuj

  • I used to have a version of photoshop since 2004. Now, I have a new PC, but I still need this old edition of Photoshop. Is it still possible to find?

    I used to have a version of photoshop since 2004. Now, I have a new PC, but I still need this old edition of Photoshop. Is it still possible to find?

    Sorry, I answer myself. I'll try to use Photoshop Lightroom.

    Thank you

    D

  • Hi, I would like to add an image in my video for 2 seconds, then only within a framework of the video running (to cover some part of the picture in video for 2 seconds. Is it possible to do?

    I would like to add a photo in my video for 2 seconds, then only within a framework of the video running (to cover some part of the picture in video for 2 seconds. Is it possible to do?

    Just add your photo on a higher video track, it will cover up to a below. You can use the effects of movement to move and scale the image.

  • Is it possible to find the two sentences into one pdf file? For example, I know the words 'Here' and 'the answer' occur more than once in my document, but only once on the same page. I'm looking for this page.

    Is it possible to find the two sentences into one pdf file? For example, I know the words 'Here' and 'the answer' occur more than once in my document, but only once on the same page. I'm looking for this page.

    I tried to do this by using the search but it will find only them, if they occur as a long chain, that is to say "Here's the answer" rather than how they occur in the document it is to say "Here 's" a bunch of information that leads you to 'the answer'. The search feature so standard did not help.

    Then I tried to do this by using the tool to delete (obviously not the application of writing!) because it allows me to search for multiple words or phrases, however it is not highlight what page both are found. I tried to turn on the preference to enable deletions of comments and even if it meant that I could then go through all the comments, it's still not faster than my document is more than 1,000 pages, which meant there were too many total comments for me to be able to easily identify which page had both.

    Any ideas?

    There is no built-in way to search for two strings and limited to show only the results that appear on the same page.

    It can be done by using a custom script, however.

Maybe you are looking for

  • Inspect element: pull the video (YouTube)

    I use a Terminal application called "youtube-dl" (https://github.com/rg3/youtube-dl/blob/master/README.md#readme) to get HTML5 YouTube videos, but I would like to know the best way to make heads or tails of the feature "Inspect element" in Safari to

  • How can I work offline?

    New computer and I usually click online and offline. I can't find it on this one

  • 'report a problem' in itunes is no longer works. How can I request a refund?

    'Report a problem' in the past section section purchases account for Itunes, there is a reaction. Tried twice. Is there another way to request a refund?

  • Virtual Excel file import NI Switch Executive device problem

    When I try to import OR switch Executive configuration to a file .xlxs error "An error occurred trying to read the file. Invalid device name «THIRD _PARTY_MATRIX» IVI "An error occurred while trying to access primary device _PARTY_MATRIX error THIRD:

  • CS6 ADOBE DON'T SE NOT LOAD

    A got new computers at work and now cannot download CS6 disk to our new computers.  Here is the error message we get:Installer failed to initialize - please download adobeconsultant support to detect the problem. OkWe clicked on the link to Adobe sup