Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

RE: [jdom-interest] one attribute several values

Michael Kay

2007-01-17

Replies:



 Hi all. I want to modify an xml archive with sentences like this:
 <user username="both" password="tomcat" roles="tomcat,role1"/>
   
 As you can see, there are more than one value for the attribute
"roles".
 
You can only see that if your eyes recognize "," as being different from any
other character. In XML and in JDOM, "," has no such special significance.

 
Michael Kay
http://www.saxonica.com/

_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.