Create a SCALAR node and attach it to the document.
The style argument may be ignored by the emitter.
| tag |
The scalar tag. |
| value |
The scalar value. |
| length |
The length of the scalar value. |
| style |
The scalar style. |
| document |
A document object. |
|
the node id or |