Consider the following DOM tree from a potential real world application:
This examples comes from a Dojo-based grid control. We can see that most nodes
have redundant attributes, that are used by Dojo internally but should be
ignored when building XPath. In this particular case they are:
In the image above, we went ahead and marked the ‘bad’ attributes in yellow.
Now we see that it is more convenient to hide some
attributes to make the DOM tree simpler and easier to read. We may control which
attributes to show (include) OR display all attributes except some that should
be excluded. In this case the tree will look much cleaner.
Selected files will be attached to any email sent on saving ticket.
Select files to upload
Or drag and drop files here
Save to upload the selected file(s)