Code Monkey home page Code Monkey logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
I have modified machines.py to generate pretty XML.  I don't know if this is an 
efficient way to do it but does work and is minimally intrusive.

Original comment by [email protected] on 21 Oct 2014 at 2:57

Attachments:

from cherrytree.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
Thank you, generating pretty XML has the drawback that the resulting XML is 
bigger in size because of additional newlines and indentation.
For this reason I cannot make this the default but I will let the user 
enable/disable the pretty XML in future major release.

Original comment by [email protected] on 25 Oct 2014 at 11:34

  • Changed state: Accepted

from cherrytree.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
That is great.  Thank you.

XML is rather bloated and inefficient anyway.  Wanting to use text
utilities like source control may be a compelling reason to put up with
bloat from a user perspective.

Original comment by [email protected] on 26 Oct 2014 at 6:24

from cherrytree.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024

Original comment by [email protected] on 5 Nov 2014 at 1:06

from cherrytree.

manad777 avatar manad777 commented on June 22, 2024

Anecdotal, but my main file went from 199k characters to 204k after prettyprinting the XML. 2% extra filesize is a pretty negligible difference.

from cherrytree.

giuspen avatar giuspen commented on June 22, 2024

Implemented in commit f866b6c

from cherrytree.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.