Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vehicles.xml pretty print #26

Open
fredshone opened this issue Oct 3, 2020 · 0 comments
Open

vehicles.xml pretty print #26

fredshone opened this issue Oct 3, 2020 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@fredshone
Copy link

Output xmls are formatted as single strings. In the case of vehicles which is a commonly editted file, it would be useful to have a 'pretty print' option, eg:

        <vehicleType id="Rail">
                <capacity>
                        <seats persons="100"/>
                        <standingRoom persons="0"/>
                </capacity>
                <length meter="200.0"/>
                <width meter="2.8"/>
                <accessTime secondsPerPerson="0.25"/>
                <egressTime secondsPerPerson="0.25"/>
                <doorOperation mode="serial"/>
                <passengerCarEquivalents pce="27.1"/>
        </vehicleType>
@fredshone fredshone added the enhancement New feature or request label Oct 3, 2020
@mfitz mfitz added the good first issue Good for newcomers label Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants