Network Printer Manager

    strxml-es

    1.0.0 • Public • Published

    Build Status

    strxml-updated

    This is merely a newly packaged version of strxml that can be npm installed normally.

    Create xml with strings and concatenation.

    install

    npm install --save strxml
    

    api

    • tag(el, [attributes], contents)
    • tagClose(el, attributes)
    • encode(str)
    • attr(attributes)

    example

     
    var tag = require('strxml').tag;
     
    tag('Layer',
        tag('StyleName', 'style-' + i) +
        tag('Datasource', {
          name: 'layer-' + i,
          srs: WGS84
        }));

    Install

    npm i strxml-es

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    3.67 kB

    Total Files

    6

    Last publish

    Collaborators

    • ericsvendsen