Iterating over the elements specific to the screen (web page)

Hi guys and girls,

I feel stupid for not being able to solve myself, so I'm glad to know that there a wealth of experience and talent to help...

My question is this:
I have a web page (screen) full of items of different types, for example
.. /Web:IMG[@ALT='Enable update "or @index = '26']
.. [/ 'web:img[@alt='Details or @index = ' 25']
.. [/ web:td[@text='Ongoing' or @index = '62']
etc.

I want to find the img and then iterate over their index. Iterate no problem.

However: can one tell me how to identify images and bring them into a list?
Something like a ' for each element e; If e is an img; {do something}

Your help is appreciated.

Rgds,
B

If you want to delete objects whose attribute value null, use code with the following previous code

for(int count =0, i = count; i< images.size();i++){
          if(images.get(i).getAttribute("alt") == null ){
               images.remove(i);
               i=count;
          }
          else{
               count++;

          }
     }

Note: Here also alt with the attribute that you want to change

Kind regards
Dembélé M

Tags: Oracle Development

Similar Questions

  • Office Jet 4632 only print what is on the screen (Web Pages)

    Hi all.   New to the Forum.

    I have a new 4632 Jet Office hooked up to a Samsung RV 511 computer laptop running Windows 7 via a USB cable.

    The laptop is a Stock machine.

    For some reason when I try to print from the Web, it shows only what is on the screen, rather than print all web pages.

    It does if I try Google Chrome or Internet Explorer.

    My old Windows XP with an all-in-one HP machine automatically prints all pages.  If you only want to print some texts, you can highlight and print only that.  Not so with this machine.

    Any help would be greatly appreciated.

    Thanks, Pete

    Hello Pete and welcome to the Forums of HP, I hope you enjoy your experience!

    I see that you are having problems printing.  I would try to help.

    I would say uninstalling the software of the printer.

    Once it is uninstalled, I suggest you put your system in clean boot mode in the configuration of Microsoft.  You can do this by following this document: How to perform a clean boot in Windows.

    Once the computer is in clean boot mode, I would suggest to reinstall the HP printer install wizard for Windows.

    Good luck and please let me know the results of your troubleshooting operations. Thanks for posting on the HP Forums!

  • Satellite C600 - slider running around all over the screen

    I was delivered just the C600 Satellite and I can't type my cursor running around all over the screen. I followed the advice of other threads without success. 'FN + F9' does not disable the touchpad, and there is no touchpad under Mouse Properties tab. When I search the computer for "touchpad", in fact, there is no answer.

    Please advise!

    Hello

    Why try to disable the touchpad?

    The Satellite C series there is a BIOS update that will resolve this slider skip the question. There are already a lot of discussion here in the forum:
    http://APS2.toshiba-tro.de/KB0/TSB1103370000R02.htm

    Check this box!

  • When you type my letters go all over the screen, everything happens with Firefox.

    After installing Firefox, when I type, the letters are going all over the screen, to the place where I try to type. I used to type without looking at the screen. Now, I have to watch... my cursor disappears, and the letters I type get into something that I previously typed correctly.

    Is when I installed Firefox, and it happens constantly.

    You have this problem when running in Firefox SafeMode?
    http://support.Mozilla.com/en-us/KB/safe+mode
    Do not choose anything at the moment, just use 'continue in safe mode.

  • Tecra M2 does not start successfully - zeroes appear all over the screen

    Help!

    My Tecra M2 does not start. After the toshiba logo, a series of zeros (0) appear all over the screen.

    -suspect it is caused by a virus, I formatted the HD (in another PC), but still the zeros appear
    -I might want to start in the DVD player, it seems to read the disc, but nothing happens, just a cursor flashing at the top left of the screen
    -J' I reset / replaced the RAM, but still no effect.
    -the power button works, lights and shuts the laptop but does not start.
    -CPU fan works
    -LED indicators of work are power, battery, dvd, wireless. Does not have HD LED light on.

    Any suggestions on how to solve this problem is greatly appreciated.
    See you soon!

    Hello

    I think we can exclude HARD disk failure because you are able to format it in another computer.
    As you suggest the RAM modules has been replaced but the problem persists
    So in my opinion, a motherboard problem would be possible

    But as you know, it of really difficult to say what might be exactly wrong
    I think that the technician should check the laptop then it would be possible to say what part is malfunctioning

    In any case, I think a motherboard might be affected

  • My office has changed color and is all over the screen

    Please help me if you can. Suddenly my office is simply not the same, the color changed and graphic design is all over the screen. I tried Aero who did something for you tell the truth, but he said there is always a problem to solve. It is recommended to go online to find the solution.

    Aero helped me 50% of the problem, now I find myself with the other half.

    It's like a sort of shadow on my screen. and my sidebar goes black. I had to delete all my gadgets, I couldn't see anything.

    Thanks in advance for your help.

    Georges.

    Hello
     
    Method 1:

    Troubleshoot Windows display the text on the monitor is not readable
    http://support.Microsoft.com/mats/Windows_Display_Quality_Diagnostics/
     
    Method 2:

    Uninstall and reinstall the display drivers and see if that helps.
    (a) click Start, right click on computer.
    (b) click on properties, click on Device Manager
    (c) expand the graphics card, right click on the map
    (d) click on uninstall
    (e) now go to your computer/device manufacturer site,
    Download the updated drivers and install them.
     
    Reference:
  • My counter top is everything about the place. the upper taskbar is ok. the background is all over the screen.

    My office is irrelevant. the upper taskbar is ok, but inside, we're all over the screen

    Restore point:

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    Do Safe Mode system restore, if it is impossible to do in Normal Mode.

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    http://Windows.Microsoft.com/en-AU/Windows-Vista/unlock-and-move-the-taskbar

    Unlock and move the taskbar

    Once you unlock the taskbar, it is ready to move to any horizontal or vertical office edge.

    Taskbar

    View all

    To unlock the taskbar
    • Right click on a space empty in the taskbar. If a checkmark beside him doesn't lock the taskbar, the taskbar is locked. You can unlock it by clicking on lock the taskbar, which removes the check mark.

      Note

      To lock the taskbar into place, right-click an empty space in the task bar, then click on lock the taskbar, so that the box is displayed.

    Click on an empty space on the taskbar, and then hold down the mouse button, dragging the taskbar to one of the four sides of the office. Once the taskbar where you want, release the mouse button.

    See you soon.

    Mick Murphy - Microsoft partner

  • A split screen device would hold the part of the static web page and allow you to scroll through the rest, it is possible?

    I would like to be able to hold part of a static web page while scrolling down, more often if you follow a tutorial on the screen for setting something with 8.1, (unusual).
    This feature would be similar to what office programs such as excel.
    Is it feasible, or if I should open the same web page in several windows?

    See if it still works.
    https://addons.Mozilla.org/en-us/Firefox/addon/split-pannel/

  • Is it possible to edit Firefox context menu to the standard address for the displayed Web pages?

    Is it possible to edit Firefox context menu to the standard address for the displayed Web pages? Often, I want to save an image on a page. Sometimes I "slip" and press "Send Image" when I want to "Save Image under" and sit and wait for the default page - send an email to come, then shut up, juggling its dialog boxes "are you sure". It is a way of trying to manage a blunder. Basically I want an element directly from a page by email. Is it possible that I can simply remove "Send Image" from the context menu?

    It is possible with the Menu Editor extension:

    https://addons.Mozilla.org/en-us/Firefox/addon/710

  • "Do you want to view only the webpage content that was delivered safely. "the Web page content that willl be sent using a secure HTTPS connection, which could jeopardize the securityof the entire Web page.

    Original title: SECURITY WARNING

    When I try to open a program I have getthis message:

    "Do you want to view only the webpage content that was delivered safely.

    "the Web page content that willl be sent using a secure HTTPS connection, which could jeopardize the securityof the entire Web page.

    Is this something that needs to be corrected?  If yes how.

    Hi billkabay,

    (1) program which you are referring?

    (2) is the problem confined to this specific programme?

    (3) since when are you facing this problem?

    This problem normally occurs when you open Web pages in internet explore. Please specify if this happens when you open a program or opening a Web page or link in internet explore.

    You can see the steps in the link below

    https://community.dynamics.com/product/crm/crmtechnical/b/crminogic/archive/2009/07/09/how-to-disable-the-34-do-you-want-to-view-only-the-webpages-content-that-was-delivered-securely-63-popup-for-custom-pages-added-to-crm.aspx

    Also see the steps by Vincenzo Di Russo (check the post Saturday, May 30, 2009 11:36) in the link below.

    http://social.answers.Microsoft.com/forums/en-us/InternetExplorer/thread/e7526a5f-F953-4235-90c3-004f9b973585

    Thanks and greetings

    Ajay K

    Microsoft Answers Support Engineer
    ***************************************************************************
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to make a link to go to a certain point on the same Web page?

    Sorry guys but I am a Nube Dreamweaver...  Can someone please tell me how to link at the top of a page to a specific section within the same Web page?  For example, I want my FAQ listed at the top of the page, when the user clicks on the question, they responded that they click on the question and reject it far this question is answered on the same page.  I was looking through my behavior, and I see nothing of this coinsides with what I'm trying to do.

    Just a little help please for a stupid nube.

    Thank you

    FB

    Hello:

    Please visit the following links and it will clear you

    http://www.w3schools.com/HTML/html_links.asp

    Kind regards

    Vinay

  • Automatic update does not. I have to manually go to the Firefox Web page every time.

    Whenever I go to Firefox/subject to check the version, I will be shown what is apparently the latest version and the computer will check for updates, then tell me that Firefox is updated. However, it is never. I still have to go to the Firefox Web page and download the new version of myself. I find this very frustrating, and it happened through a couple of updates to Mac OS x. I'm running Mavericks and just download Firefox 31.

    We see this often reported as past on Mac that update does not work properly, and it maintains the skirmish with the connection or otherwise is not updated.
    We advice you to download and install the full version in this case.

    You can find the full version of the current version of Firefox (31.0) in all languages and for all systems operating here:

  • I accidentally deleted the current Web page from the lower left search box. How can I get that back?

    It's the box where I can enter a keyword and it is on the current Web page.

    You can use a

    • CTRL + f
    • Press the Alt key > Edit menu > search
  • When I click the icon to open a new tab, how can I be the same web page as the current one I'm clicking a +?

    For example, if I'm on a web page of recipe and I click on the + icon to open a new tab, so I can look at the comments to this recipe while keeping the web page of recipe, open the new tab appears as a blank page research right now. I wish the new coming tab like the page of a recipe where I was when I clicked on the + to a new tab. In this way, I don't have to go get the Web of recipe in the new tab page, and comments... I would already be on the same web page of recipe in the new tab and then simply click on reviews. I hope I have explained this clearly. Thank you!

    This thread has some solutions:

    https://support.Mozilla.org/en-us/questions/762043

    The simplest seems to be: hold CTRL and left click on the button reload. You can also click the reload (for example 'click' with the mouse wheel, if you have a mouse wheel.) The thread above has other options.

    Edit: you could also hold down the Ctrl key and drag a tab beside himself to clone, another suggestion of the thread above.

  • How can I get the text to resize, rather than the entire web page?

    I used to be able to re-size the text on a webpage by typing Ctrl + +. Today, the entire Web page is resized, and when I move to another page, it comes back. (I see this especially in Facebook.). Why this change, and then I go back to having just the text resize?

    Make sure that you are not Firefox running in permanent private browsing mode.

    • https://support.Mozilla.com/kb/private+browsing
    • You enter private browsing mode, if you select: Tools > Options > privacy > History: Firefox will be: "don't forget the story ever.
    • To view the history settings and cookies, choose: Tools > Options > privacy, choose the setting Firefox will: use the custom settings for the story of
    • Uncheck the box: [] "Permanent private browsing Mode.

    You can use one of the following extensions to define a page zoom and the size of the default font on web pages:

Maybe you are looking for

  • Pilots do not recognize the OS

    I formatted by cell phone recently, but because I didn't have a CD from the manufacturer with me, I bought the software Windows Vista Home Premium. Unfortunately, none of the original drivers that I downloaded on the Sony site recognize the OS like V

  • OfficeJet 6500 duplex copy

    I have the duplex unit installed and am able to print two-sided documents.  However, I was unable to copy a two-sided original to create a two-sided copy.  I insert my CD original duplex in the auto Document Feeder and select duplex from the printer

  • WRT54GX2 and comcast internet

    Well I have comcast internet right now, it's the only provider, we have here in the barracks. They allow me to use a CM100 LINKSYS modem for my connection, the installer with the modem and my computer works very well. So, I put my WRT54GX2 in the mid

  • Hi, I also have a similar problem with my asus s550cm and whenever I try to access windows update window blocking, here is the link to my dmp file.

    Separated from this thread. Hi, I also have a similar problem with my asus s550cm and whenever I try to access windows update window blocking, here is the link to my dmp file. https://onedrive.live.com/redir?RESID=7D3CCE252116AC94%211981 http://1drv.

  • Batch file xcopy creating cyclical error

    Hi all I have a little problem here when creating a piece of simple code for a batch file important that I write. Maybe its a PEBKAC issue because I worked at it for too long... Because it is big enough, I like to create Variables that you can centra