<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6001.18148" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=321415613-23112008><FONT face=Arial
color=#0000ff size=2>It's a good idea to show the code you were using, then
people can tell you where you went wrong.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=321415613-23112008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=321415613-23112008><FONT face=Arial
color=#0000ff size=2>It looks a bit as if you haven't grasped how namespaces
work, but without seeing your attempts, that's a guess.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=321415613-23112008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=321415613-23112008><FONT face=Arial
color=#0000ff size=2>Michael Kay</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=321415613-23112008><FONT face=Arial
color=#0000ff size=2><A
href="http://www.saxonica.com/">http://www.saxonica.com/</A></FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> jdom-interest-bounces@jdom.org
[mailto:jdom-interest-bounces@jdom.org] <B>On Behalf Of </B>Fabio
Leal<BR><B>Sent:</B> 23 November 2008 03:10<BR><B>To:</B>
jdom-interest@jdom.org<BR><B>Subject:</B> [jdom-interest] Jdom with XMI
Files<BR></FONT><BR></DIV>
<DIV></DIV>Hy everybody...<BR>I'm trying to manipulate a XMI file with Jdom,
and I have experienced some difficulties doing it. <BR><BR>For example:
<BR>All the subnodes of the root Element have the "same name", but have
different attributes.<BR>How can I choose a specific "Element", by specifying
it's attributes?<BR><BR>Another point is that the attributes started with
"xmi:" aren't recognized by Jdom. I've already tested a bunch of things to
make it recognizable, but all of them were unsuccessful. =/<BR><BR>I think
that my problems are quite easy to solve, but I haven't found anything that
could help me in the web. <BR clear=all>If Jdom isn't a great tool with
XMI, could you suggest me other?<BR><BR><BR>*Xmi file that i want to read: <A
href="http://www.omg.org/spec/UML/20061001/Superstructure.cmof">http://www.omg.org/spec/UML/20061001/Superstructure.cmof</A><BR><BR><BR>Cheers,<BR>Fábio
Leal<BR><BR></BLOCKQUOTE></BODY></HTML>