Uploaded image for project: 'Extraction'
  1. Extraction
  2. EXTRACT-71

Extract result is on one line

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 1.1.0
    • 1.0.0
    • None
    • 4.1RC1
    • 4.2 M5

      So no indentation.

      It is really hard to understand the result.

       

      doing something as :

      Properties format = new Properties();
      format.put(OutputKeys.METHOD, "xml");
      format.put(OutputKeys.INDENT, "yes");
      format.put(OutputKeys.ENCODING, "UTF-8");
      format.put(OutputPropertiesFactory.S_KEY_INDENT_AMOUNT, "4");
      th.getTransformer().setOutputProperties(format);

      is possible ?

            sprieul Simon Prieul (Inactive)
            sprieul Simon Prieul (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: