decorative banner

Searching for elements


    By using the Element tab, you can perform simple search tasks involving elements or more sophisticated operations that edit and manipulate elements or their plain text contents.

To search for elements:

  1. Choose Edit > Find and then click the Element tab in the Find window.
  2. With the site window open, specify the search criteria for the elements in the Search section of the Element tab as follows:
    • Select Name Is or Name Matches from the top left pop-up menu.
    • Enter the name of the element you're searching for in the top right text box, or choose one from the pop-up menu to the right of the text box.
  3. In the scrollable text box in the Search section, do one of the following to specify the search criteria for attributes, or for the plain text contents of the element you specified:
    • To search for elements with particular attribute values, enter the attributes, operators, and attribute values you want to use as search criteria, or choose them from the respective pop-up menus directly below the scrollable text box.
    • To search for elements by comparing attribute values, enter the two attributes and an operator. For example, to search for elements that have a width greater than the height, enter the following:

    height>width

    • To search for the plain text contents of an element, enter the keyword content, an equal sign operator, and the text contents in quotes. For example, to search for all occurances of the plain text "June" (no style applied) in the element you specified, enter the following:

    content="June"

    Tip iconAfter specifying the search criteria for plain text, you can specify the text you want to use as a replacement. For example, you can replace all occurrences of "June" in a specified element with "July." To replace the text contents of an element, use the Replace Content action. (See Using the Element tab to edit elements.)

  4. Define the scope of your search by doing one of the following:
    • To select an entire site, open the site window, and select the site from the pop-up menu in the Find In section at the bottom of the Element tab. You can then remove individual files from the file list below the pop-up menu by selecting them and clicking Remove.
    • To select individual file(s) from a site, open the site window, click or Shift-click files in the site window, and drag the file(s) to the file list in the Find In section.
    • To browse and select individual file(s), choose Custom from the pop-up menu in the Find In section and click Add Files. In the Add Files dialog box, click Add All or select the files you want searched and click Add, and then click Done.
  5. Click Start to begin the search. GoLive displays the hits in the file list at the bottom of the Element tab.