Skip to content

Commit b770cb8

Browse files
committed
Readme.md.
1 parent caae16d commit b770cb8

File tree

2 files changed

+55
-25
lines changed

2 files changed

+55
-25
lines changed

README.md

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,7 @@ Jsonix advantages:
1010
* Type-safe.
1111
* (Optionally) XML Schema-driven.
1212

13-
Jsonix features:
14-
15-
* Runs in almost any modern browser
16-
* Runs in [Node.js](http://nodejs.org/)
17-
* Implements *marshalling* (serializing the JavaScript object into XML)
18-
* Supports *string* data and *DOM* nodes as result
19-
* Implements *unmarshalling* (parsing a JavaScript object from XML)
20-
* Supports *string* data, *DOM** nodes, *URLs* or *files* (with Node.js) as source
21-
* Driven by *declarative** XML/JS *mappings* which control how JavaScript object is converted into XML or vice versa
22-
* *Mappings* can be *automatically generated* based on the *XML Schema*
23-
* *Strongly-structured* - XML/object mappings describe structures of JavaScript objects
24-
* *Strongly-typed* - Conversion between string content on XML side and values on the JavaScript side is controlled by declared property types
25-
* Provides *extensible type system*
26-
* Supports most XML Schema simple types (inlcuding QNames)
27-
* Supports enumerations, list and union simple types
28-
* Allows adding own simple types
29-
* Supports complex types consisting of several properties
30-
* Supports deriving complex types by extension
31-
* Provides *advanced property system*
32-
* Value, attribute, element, element reference properties for string processing of XML content
33-
* Any attribute, any element properties for "lax" processing for XML content
13+
See also the other [Jsonix features](#jsonix-features).
3414

3515
## Example
3616

@@ -103,6 +83,30 @@ var doc = marshaller.marshalDocument({
10383

10484
You can also `marshalString`.
10585

86+
## Jsonix Features
87+
88+
* Runs in almost any modern browser
89+
* Runs in [Node.js](http://nodejs.org/)
90+
* Runs with CommonJS modules, AMD modules as well as vanilla (globals, without any module loader)
91+
* Bidirectional (XML -> JS as well as JS -> XML)
92+
* Implements *marshalling* (serializing the JavaScript object into XML)
93+
* Supports string data and DOM nodes as result
94+
* Implements *unmarshalling* (parsing a JavaScript object from XML)
95+
* Supports string data, DOM nodes, URLs or files (with Node.js) as source
96+
* Driven by declarative XML/JS mappings which control how JavaScript object is converted into XML or vice versa
97+
* Mappings can be automatically generated based on the XML Schema
98+
* Strongly-structured - XML/object mappings describe structures of JavaScript objects
99+
* Strongly-typed - Conversion between string content on XML side and values on the JavaScript side is controlled by declared property types
100+
* Provides extensible type system
101+
* Supports most XML Schema simple types (inlcuding QNames)
102+
* Supports enumerations, list and union simple types
103+
* Allows adding own simple types
104+
* Supports complex types consisting of several properties
105+
* Supports deriving complex types by extension
106+
* Provides advanced property system
107+
* Value, attribute, element, element reference properties for string processing of XML content
108+
* Any attribute, any element properties for "lax" processing for XML content
109+
106110
## Documentation
107111

108112
* [Jsonix GitHub Project](https://github.com/highsource/jsonix)

nodejs/scripts/README.md

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Jsonix advantages:
1010
* Type-safe.
1111
* (Optionally) XML Schema-driven.
1212

13+
See also the other [Jsonix features](#jsonix-features).
14+
1315
## Example
1416

1517
Here's a working example for the [purchase order schema](http://www.w3.org/TR/xmlschema-0/#po.xsd) (try it [online in JSFiddle](http://jsfiddle.net/lexi/LP3DC/)).
@@ -49,7 +51,7 @@ unmarshaller.unmarshalURL('po.xml',
4951
});
5052
```
5153

52-
You can also ``unmarshalString``, ``unmarshalDocument`` and (under node.js) ``unmarshalFile``.
54+
You can also `unmarshalString`, `unmarshalDocument` and (under node.js) `unmarshalFile`.
5355

5456
### Marshalling
5557

@@ -79,9 +81,33 @@ var doc = marshaller.marshalDocument({
7981
});
8082
```
8183

82-
You can also ``marshalString``.
84+
You can also `marshalString`.
85+
86+
## Jsonix Features
87+
88+
* Runs in almost any modern browser
89+
* Runs in [Node.js](http://nodejs.org/)
90+
* Runs with CommonJS modules, AMD modules as well as vanilla (globals, without any module loader)
91+
* Bidirectional (XML -> JS as well as JS -> XML)
92+
* Implements *marshalling* (serializing the JavaScript object into XML)
93+
* Supports string data and DOM nodes as result
94+
* Implements *unmarshalling* (parsing a JavaScript object from XML)
95+
* Supports string data, DOM nodes, URLs or files (with Node.js) as source
96+
* Driven by declarative XML/JS mappings which control how JavaScript object is converted into XML or vice versa
97+
* Mappings can be automatically generated based on the XML Schema
98+
* Strongly-structured - XML/object mappings describe structures of JavaScript objects
99+
* Strongly-typed - Conversion between string content on XML side and values on the JavaScript side is controlled by declared property types
100+
* Provides extensible type system
101+
* Supports most XML Schema simple types (inlcuding QNames)
102+
* Supports enumerations, list and union simple types
103+
* Allows adding own simple types
104+
* Supports complex types consisting of several properties
105+
* Supports deriving complex types by extension
106+
* Provides advanced property system
107+
* Value, attribute, element, element reference properties for string processing of XML content
108+
* Any attribute, any element properties for "lax" processing for XML content
83109

84110
## Documentation
85111

86-
* [Homepage](http://confluence.highsource.org/display/JSNX/Jsonix)
87-
* See the [User Guide](http://confluence.highsource.org/display/JSNX/User+Guide) for the extensive documentation ([PDF](https://github.com/highsource/jsonix/raw/master/docs/Jsonix.pdf))
112+
* [Jsonix GitHub Project](https://github.com/highsource/jsonix)
113+
* [Jsonix Wiki](https://github.com/highsource/jsonix/wiki)

0 commit comments

Comments
 (0)