comparison servlet/src/digilib/io/XMLMetaLoader.java @ 246:aaf6eace011d

Servlet version 1.19b4 - bug fixes - new stuff in DocumentBean
author robcast
date Wed, 04 Aug 2004 20:42:48 +0200
parents e40d8b2e3978
children d4c0c4d858a9
comparison
equal deleted inserted replaced
245:e93a1d525df2 246:aaf6eace011d
86 */ 86 */
87 private String getAttrString(Attributes attrs) { 87 private String getAttrString(Attributes attrs) {
88 StringBuffer s = new StringBuffer(); 88 StringBuffer s = new StringBuffer();
89 for (int i = 0; i < attrs.getLength(); i++) { 89 for (int i = 0; i < attrs.getLength(); i++) {
90 String key = getName(attrs.getLocalName(i), attrs.getQName(i)); 90 String key = getName(attrs.getLocalName(i), attrs.getQName(i));
91 s.append(" "+key+"=\""+attrs.getValue(i)); 91 s.append(" "+key+"=\""+attrs.getValue(i)+"\"");
92 } 92 }
93 return s.toString(); 93 return s.toString();
94 } 94 }
95 95
96 96