[jdom-interest] cant achive creation of this xml tag with jdom

eial at cs.bgu.ac.il eial at cs.bgu.ac.il
Mon Mar 24 15:32:48 PDT 2008


hello, I need to create this xml tag using jdom in java:
Code:
<stream:features>
  <bind xmlns="urn:ietf:params:xml:ns:xmpp­-bind" />
  <session xmlns="urn:ietf:params:xml:ns:xmpp­-session" />
</stream:features>
the closest I've been able to get is this:
Code:
<stream:features xmlns:stream="features">
  <bind xmlns="urn:ietf:params:xml:ns:xmpp-­bind" />
  <session xmlns="urn:ietf:params:xml:ns:xmpp-­session" />
</stream:features>
I've cant seems to remove the added xmlns attribute in the main.
how can I remove it, thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20080325/4495f036/attachment.htm


More information about the jdom-interest mailing list