\r
: indent-string ( -- string )\r
xml-pprint? get\r
- [ indentation get indenter get <repetition> concat ]\r
+ [ indentation get indenter get <repetition> "" concat-as ]\r
[ "" ] if ;\r
\r
: ?indent ( -- )\r
: ?filter-children ( children -- no-whitespace )\r
xml-pprint? get [\r
[ dup string? [ [ blank? ] trim ] when ] map\r
- [ "" = not ] filter\r
+ [ "" = ] reject\r
] when ;\r
\r
PRIVATE>\r