I have the following XML-File
<books>
<book>
<author>Fitzek</author>
<titel>Abgeschnitten</titel>
</book>
<book>
<author>Dan Brown</author>
<titel>Symbol</titel>
</book>
<book isbn="123456">
<author>Sebastian Fitzek</author>
<titel>Der Augensammler</titel>
</book>
</books>
I show this XML-File on an JSF Page at the moment. My intention is to validate each element with the correct element in the XSD file an show an information or error message to the page if the specific element isn't valid.
I only found a solution to validate the whole file and not the specific elements.
I hope somebody can help me.
Thanks a lot.