Hi,<br><br>Please see here: <a href="http://www.topxml.com/tutorials/main.asp?id=jdom&page=17">http://www.topxml.com/tutorials/main.asp?id=jdom&page=17</a>.<br><br>Regards,<br>Grzegorz<br><br><div><span class="gmail_quote">
2007/10/1, NP <<a href="mailto:nicola.padovano@gmail.com">nicola.padovano@gmail.com</a>>:</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'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 <name>. 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's -better,
<br>sax's- functions, like SAXBuilder.build) with duplicate TAG <name>,<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>"Choć tyle wiemy własnym doświadczeniem:<br>W nas jest Raj, Piekło - i do obu - szlaki."<br>J.K.