68 "<D:multistatus"); |
68 "<D:multistatus"); |
69 |
69 |
70 // write the namespaces definitions |
70 // write the namespaces definitions |
71 // key is the namespace prefix |
71 // key is the namespace prefix |
72 // the map always contains the "DAV:" namespace with the prefix "D" |
72 // the map always contains the "DAV:" namespace with the prefix "D" |
73 CxIterator i = cxMapIterator(ms->namespaces); |
73 CxIterator i = cxMapIterator(ms->namespaces); |
74 cx_foreach(CxMapEntry*, entry, i) { |
74 cx_foreach(CxMapEntry*, entry, i) { |
75 WSNamespace *ns = entry->value; |
75 WSNamespace *ns = entry->value; |
76 writer_put_lit(out, " xmlns:"); |
76 writer_put_lit(out, " xmlns:"); |
77 writer_put (out, entry->key->data.str, entry->key->len); |
77 writer_put (out, entry->key->data.str, entry->key->len); |
78 writer_put_lit(out, "=\""); |
78 writer_put_lit(out, "=\""); |