forked from Inist-CNRS/node-xml-writer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support numeric values and false-y attributes
added support for using numeric values in attributes and element text added support for suppressing attribute if the value is false-y xw.startElement('tag') .writeAttribute('key1', false) .writeAttribute('key2', null) .writeAttribute('key3', undefined) .text(3.14) .endElement(); results in: <tag>3.14</tag> (see Inist-CNRS#5)
- Loading branch information
Chip Lee
committed
Sep 16, 2014
1 parent
0877a26
commit c853fdd
Showing
4 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters