Skip to content

Commit

Permalink
Add namespace instructions to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Taylor committed Mar 3, 2015
1 parent 1dff4c4 commit dc056a5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Expand Up @@ -16,6 +16,16 @@ gulp.src("./manifest.xml")
]))
.pipe(gulp.dest("./dest"));

/*
edit XML document by using user specific object using a namespace
*/
gulp.src("./manifest.xml")
.pipe(xeditor([
{path: '//xmlns:name', text: 'new names'},
{path: '//xmlns:version', attr: {'major': '2'}}
], http://www.w3.org/ns/widgets))
.pipe(gulp.dest("./dest"));


/*
edit XML document by using user specific function
Expand Down

0 comments on commit dc056a5

Please sign in to comment.