- Slightly change behaviour of new PrettyPrint function. The new
version adds carriage returns between tags separated by only
spaces and/or tabulations. This means that following code:
<data> <test/> </data>
will be formated as:
<data>
<test/>
</data>
Moreover, empty tags like "<data></data>" or tags which only
contains spaces and/or tabulations will be auto-closed. For
instance:
<data> </data>
will be replaced by:
<data/>
- Modifiy the carriage return sequence: using "\r\n" instead of
"\n"
- Fixes formating problem inside comments and CDATA blocks
- Fixes formating problem produced by '>' char
(ex: "<data>test></data>" where "test>" is simple text)
- Fixes indentation errors with character '"' placed in text
- Fixes indentation errors with character '>' placed in CDATA
- Fixes encoding problems with tags using special chars (for ex.
german umlauts) - Thanks to Christoph Wagner for this report
- Adds conversion of '&' to '&' and reverse in XML <-> text
conversion functions
- Adds conversion of '"' to '"' and reverse in XML <-> text
conversion functions
- Fixes the missing copy to clipboard when getting XML path from
a tag element (getting from text position was already working)
- Disable "Pretty print", "XML <-> Text" and "Comment/Uncomment"
functions when file is read only
- Fixes the scrolling effet which occured after "Pretty print",
"XML <-> Text" and "Comment/Uncomment" functions
- Fixes the uncollapse effect which occured after "XML <-> Text"
and "Comment/Uncomment" functions
- Improvement of performances + memory usage for "XML <-> Text"
and "Comment/Uncomment" functions
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks a lot Nicolas for the update! I've been waiting for a while that "empty tags auto-close" capability.
Changing "<data></data>" into "<data/>" takes less space and is more readable.
Just a suggestion:
Maybe that could be nice to enable that pretty print option while opening files and not only when clicking on it as for the moment.
For exemple, like the "Enable XML synthax auto-check" option, that would be very usefull to have a "Enable pretty print on load" option.
Anyway you made a very usefull work, thanks again.
PS:Bref du bon boulot Nicolas! J'etais a deux doigts de quitter Notepad++ car il ne supporte pas les encodages Shift-JIS ... et bien ton update me fait rester chez N++ (Pour le shift-JIS je vais patienter encore un peu ;) ). Bonne continuation
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A new release of XML Tools plugin has been released.
http://www.calodox.scene.org/morbac/other/XMLTools_236.zip
Here the change log:
Release 1.1.3 (r236):
---------------------
- Slightly change behaviour of new PrettyPrint function. The new
version adds carriage returns between tags separated by only
spaces and/or tabulations. This means that following code:
<data> <test/> </data>
will be formated as:
<data>
<test/>
</data>
Moreover, empty tags like "<data></data>" or tags which only
contains spaces and/or tabulations will be auto-closed. For
instance:
<data> </data>
will be replaced by:
<data/>
- Modifiy the carriage return sequence: using "\r\n" instead of
"\n"
- Fixes formating problem inside comments and CDATA blocks
- Fixes formating problem produced by '>' char
(ex: "<data>test></data>" where "test>" is simple text)
- Fixes indentation errors with character '"' placed in text
- Fixes indentation errors with character '>' placed in CDATA
- Fixes encoding problems with tags using special chars (for ex.
german umlauts) - Thanks to Christoph Wagner for this report
- Adds conversion of '&' to '&' and reverse in XML <-> text
conversion functions
- Adds conversion of '"' to '"' and reverse in XML <-> text
conversion functions
- Fixes the missing copy to clipboard when getting XML path from
a tag element (getting from text position was already working)
- Disable "Pretty print", "XML <-> Text" and "Comment/Uncomment"
functions when file is read only
- Fixes the scrolling effet which occured after "Pretty print",
"XML <-> Text" and "Comment/Uncomment" functions
- Fixes the uncollapse effect which occured after "XML <-> Text"
and "Comment/Uncomment" functions
- Improvement of performances + memory usage for "XML <-> Text"
and "Comment/Uncomment" functions
does the xml tool give support to create a sitemap at a website, or does you have an additional tool for that!
Thanks a lot Nicolas for the update! I've been waiting for a while that "empty tags auto-close" capability.
Changing "<data></data>" into "<data/>" takes less space and is more readable.
Just a suggestion:
Maybe that could be nice to enable that pretty print option while opening files and not only when clicking on it as for the moment.
For exemple, like the "Enable XML synthax auto-check" option, that would be very usefull to have a "Enable pretty print on load" option.
Anyway you made a very usefull work, thanks again.
PS:Bref du bon boulot Nicolas! J'etais a deux doigts de quitter Notepad++ car il ne supporte pas les encodages Shift-JIS ... et bien ton update me fait rester chez N++ (Pour le shift-JIS je vais patienter encore un peu ;) ). Bonne continuation
Updated on Notepad++ Dowload Page.
Don