Skip to content
This repository was archived by the owner on Dec 31, 2025. It is now read-only.

Preserve comments and whitespace - Usage for attranslate #54

@fkirc

Description

@fkirc

Hi,

I am currently running experiments with saxes and attranslate: https://github.com/fkirc/attranslate
attranslate is a new tool for semi-automated app- und website translations.
A goal of attranslate is to modify existing XML-files with as little changes as possible.
Therefore, one thing that I am curious about is the preservation of XML-comments and whitespace (linebreaks).

It would be nice to have a tree-structure that preserves literally all information when reading an XML-file and then writing the (almost) same XML-file again.

Perhaps you could point me in a direction on how to best achieve whitespace- and comments-preservation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions