search for: last_child_was_el

Displaying 2 results from an estimated 2 matches for "last_child_was_el".

2018 Feb 22
0
[PATCH 1/5] v2v: DOM: Add doc_to_string function.
...uffer_add_spaces buf indent; + bprintf buf "<%s" name; + List.iter (fun (n, v) -> bprintf buf " %s='%s'" n (xml_quote_attr v)) attrs; if children <> [] then ( - output_string chan ">"; + Buffer.add_string buf ">"; let last_child_was_element = ref false in List.iter ( function | Element _ as child -> last_child_was_element := true; - output_char chan '\n'; - node_to_chan ~indent:(indent+2) chan child; + Buffer.add_char buf '\n'; + node_to_buf ~indent:(inden...
2018 Feb 22
11
[PATCH 0/5] v2v: Add -o rhv-upload output mode.
The first four patches are straightforward. The final patch adds the -o rhv-upload output mode. It is still spooling into a temporary file because I've had some trouble getting streaming conversions working. There are other problems as outlined in the commit message, so this patch is not ready for upstream but is good for discussion. Also I hit this, which I'm assuming for now will be