XML in Xlate – line breaks

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf XML in Xlate – line breaks

  • Creator
    Topic
  • #49004
    Bill Bertera
    Participant

      It appears when the output of a Cloverleaf Xlate is XML, that the data all runs together with no line breaks. We’re getting a core dump on a large file, and the only guess I can make is that the line is too long, perhaps for the OS? Is there a way in the Xlat Config or in the .xsd Schema to signify that I want each tag to appear on seperate lines? When I use tcl, and grmcreate/store, it creates the data properly.

      example:

      1-1-12007-01-12T14:46:05

      I want:

      1-1-1

      2007-01-12T14:46:05

      thanks

    Viewing 0 reply threads
    • Author
      Replies
      • #60443
        Rob Abbott
        Keymaster

          In 5.4.1 and beyond you can check “format encoded xml” at schema compile time.  Along with putting tags on separate lines it will also indent nested tags.

          Rob Abbott
          Cloverleaf Emeritus

      Viewing 0 reply threads
      • The forum ‘Cloverleaf’ is closed to new topics and replies.