dalecon
asked on
jdom question
hi all can you use jdom to return xml in this format
<parent id="" title="" type="">
<child1>xxxxxx</child1>
<child2>xxxxxx</child2>
<child3>xxxxxx</child3>
</parent>
I have jdom working if i want them all as attributes e.g.or all as tags but not a mixture of both
many thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
what actually you want to do??
post your code
post your code
ASKER
I've sorrted this using a method like this
public void setAsAttribute(String columnName, String attribName)
{
String name = columnName.toLowerCase();
attributes.put(name, "t");
newNames.put(name, attribName);
}
in my jdom class