| 246 | // Print declaration node |
| 247 | template<class OutIt, class Ch> |
| 248 | inline OutIt print_declaration_node(OutIt out, const xml_node<Ch> *node, int flags, int indent) |
| 249 | { |
| 250 | // Print declaration start |
| 251 | if (!(flags & print_no_indenting)) |
| 252 | out = fill_chars(out, indent, Ch('\t')); |
| 253 | *out = Ch('<'), ++out; |
| 254 | *out = Ch('?'), ++out; |
| 255 | *out = Ch('x'), ++out; |
| 256 | *out = Ch('m'), ++out; |
| 257 | *out = Ch('l'), ++out; |
| 258 | |
| 259 | // Print attributes |
| 260 | out = print_attributes(out, node, flags); |
| 261 | |
| 262 | // Print declaration end |
| 263 | *out = Ch('?'), ++out; |
| 264 | *out = Ch('>'), ++out; |
| 265 | |
| 266 | return out; |
| 267 | } |
| 268 | |
| 269 | // Print comment node |
| 270 | template<class OutIt, class Ch> |
no test coverage detected