Skip to content

Commit 0995ba4

Browse files
author
Harrison Ifeanyichukwu
committed
docs: create initial project readme guide
1 parent 4d86800 commit 0995ba4

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

README.md

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,27 @@
1-
# xml-serializer
2-
A javascript implementation of w3c xml-serialization spec
1+
# XML-Serializer
2+
3+
XML-Serializer is A JavaScript implementation of w3c [xml serialization](https://www.w3.org/TR/DOM-Parsing/#dfn-concept-serialize-xml) spec. All specifications have been implemented and includes the following [specs](https://www.w3.org/TR/DOM-Parsing/#dfn-concept-xml-serialization-algorithm):
4+
5+
- [Element node Serialization]
6+
7+
- [Document node Serialization]
8+
9+
- [Comment node Serialization]
10+
11+
- [Text node Serialization]
12+
13+
- [Document Fragment node Serialization]
14+
15+
- [Document Type Serialization]
16+
17+
- [Processing Instruction Serialization]
18+
19+
## Module Availability
20+
21+
This module is available as an npm package and also as a browser module. It can easily integrated with [JSDOM](https://github.com/jsdom/jsdom) for mockup testing.
22+
23+
## Useful Articles
24+
25+
In addition to the spec, the following sections as well as outside resources were consulted and proved very useful:
26+
27+
[serialize-doc-type](https://www.w3.org/TR/DOM-Parsing/#dfn-concept-serialize-doctype), [serialize-xml-attribute](https://www.w3.org/TR/DOM-Parsing/#dfn-concept-serialize-xml-attributes), [serialize-attr-value](https://www.w3.org/TR/DOM-Parsing/#dfn-concept-serialize-attr-value), [record-element-namespace-info](https://www.w3.org/TR/DOM-Parsing/#dfn-concept-record-namespace-info), [generate-prefix](https://www.w3.org/TR/DOM-Parsing/#dfn-concept-generate-prefix), [xml-character-sets](https://www.w3.org/TR/xml/), [detect-non-valid-xml-characters](https://stackoverflow.com/questions/29031792/detect-non-valid-xml-characters-javascript)

0 commit comments

Comments
 (0)