Search for elements that don't have a specific child?
Posted: Tue Oct 29, 2013 10:32 pm
I have a long docbook document, and for accessibility purposes we're required to have alt text for every single image. This is something that can be easy to miss, and there are probably several throughout the books (literally) hundred of images that does not have an alt tag.
What I'm try to find are any places like this:
The above should actually read:
Does Oxygen have way to search for such instances where I neglected to insert an <alt> tag so I can correct them?
What I'm try to find are any places like this:
Code: Select all
<inlinemediaobject>
<imageobject>
<imagedata fileref="image.png"/>
</imageobject>
</inlinemediaobject>
Code: Select all
<inlinemediaobject>
<alt>Image alt text goes here</alt>
<imageobject>
<imagedata fileref="image.png"/>
</imageobject>
</inlinemediaobject>