sponsor Vim development Vim logo Vim Book Ad

XMLExpander : XML Pretty Printer

 script karma  Rating 0/0, Downloaded by 728  Comments, bugs, improvements  Vim wiki

created by
Data Statiker
 
script type
utility
 
description
Getting Started
********************
With the XMLExpander extension plugin for vim you can make your XML file
clear. The XMLExpander is a pretty printer for XML.

When you have the problem that your xml files are e.g. in one line or have not
clear insertions this plugin could help you. After running the XMLExpander
every opening and ending tag is in one line and have clear insertions.

First install the plugin: |xmlexpander-install|

To run the XMLExpander do the following:
- load the input XML file
- execute the XMLExpander: menu Plugin->XMLExpander <run>

Now you have a pretty printed XML file (in the same VIM window!).

For further details read the vim help file doc/xmlexpander.txt
or in VIM :help xmlexpander

Warning:
The XML File must be syntactical correct! The script do not check this.


Whats New
********************
Version 0.3
- New name: xmlexpander
- Redefine functions and variables (xmlexpander)
- New function xmlexpander#isContentText(text) to check if a text has to be harmonized
 
install details
VIMBALL
*************
Download the vimball file xmlexpander.vmb from:
http://www.vim.org/

Install the vimball file with VIM
1 Download the file xmlexpander.vmb
2 vim path/xmlexpander.vmb
3 :so %
4 :q

Now you have the menu Plugin->XMLExpander <Run>

HELP FILE
****************
To activate the helpfile in VIM type in command mode:
:helptags ~/.vim/doc
OR (Windows)
:helptags C:\Users\YourUsername\vimfiles\doc

Then you can open the helpfile with ':help xmlexpander'

GITHUB
*************
GITHUB Repository:
https://github.com/Data-Statiker/VIM-XML

When you have the files from GITHUB:
Copy the files of the folders 'autoload', 'doc' and 'plugin' to your
local vimfiles:
~/.vim/doc
OR (Windows)
C:\Users\YourUsername\vimfiles\doc
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
xmlexpander.vmb 0.3 2015-04-19 7.0 Data Statiker Initial upload
ip used for rating: 18.191.240.243

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github