Hi,<br><br>Please see here: <a href="http://www.topxml.com/tutorials/main.asp?id=jdom&amp;page=17">http://www.topxml.com/tutorials/main.asp?id=jdom&amp;page=17</a>.<br><br>Regards,<br>Grzegorz<br><br><div><span class="gmail_quote">
2007/10/1, NP &lt;<a href="mailto:nicola.padovano@gmail.com">nicola.padovano@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all!<br>I&#39;ve written a XML database, but now i have the need to validate it. For<br>example this XML must have one tag (and only one) called &lt;name&gt;. So i<br>can write a dtd grammar to do this work.<br>But my necessity is that when i parse the xml file (with jdom&#39;s -better,
<br>sax&#39;s- functions, like SAXBuilder.build) with duplicate TAG &lt;name&gt;,<br>there is an exception that alerts this situation.<br><br>How I can resolve this problem?<br>(My fear is to write a by hand (and raw) function that works like i want...)
<br><br>Thanks!<br>_______________________________________________<br>To control your jdom-interest membership:<br><a href="http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com">http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com
</a><br></blockquote></div><br><br clear="all"><br>-- <br>&quot;Choć tyle wiemy własnym doświadczeniem:<br>W nas jest Raj, Piekło - i do obu - szlaki.&quot;<br>J.K.