Type Definitions
EntityInfo
- Source:
Properties:
Name | Type | Description |
---|---|---|
base |
string | |
data |
string | Buffer | Uint8Array | Uint8ClampedArray |
Type:
- object
MaybeStylized
Type:
- Partial.<util.InspectOptionsStylized>
MaybeStylizedSeparated
Type:
Model
Properties:
Name | Type | Description |
---|---|---|
name |
string | Name of the model |
type |
number | Empty=1, Any, Mixed, Name, Choice, Seq |
quant |
number | None=0, Optional, Star, Plus |
children |
Array.<Model> |
Type:
- object
ParserOptions
- Source:
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
encoding |
XML_Encoding |
<optional> |
null will do content sniffing. | |
separator |
string | XmlParser.NO_NAMESPACES |
<optional> |
'|'
|
the separator for namespace URI and element/attribute name. Use XmlParser.NO_NAMESPACES to get Expat's old, broken namespace non-implementation via XmlParserCreate instead of XmlParserCreateNS. |
expandInternalEntities |
boolean |
<optional> |
expand internal entities | |
systemEntity |
ReadEntity | null |
<optional> |
expand external entities using this callback | |
base |
string | null |
<optional> |
Base URI for inclusions | |
xmlBase |
boolean | Add xml:base attributes when parsing external entitites. |
Type:
- object
Pieces
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
pieces.ns |
string |
<optional> |
the namespace URI |
pieces.local |
string | the local name | |
pieces.prefix |
string |
<optional> |
the prefix used for the current name |
Type:
- object
ReadEntity(base, systemId, publicIdopt) → {EntityInfo}
- Source:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
base |
string | ||
systemId |
string | ||
publicId |
string |
<optional> |
Returns:
- Type
- EntityInfo
Separated
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
separator |
string |
<optional> |
''
|
Type:
- object
Stylize(text, Style) → {string}
Parameters:
Name | Type | Description |
---|---|---|
text |
string | |
Style |
util.Style |
Returns:
- Type
- string
XML_Encoding
- Description:
- Encodings that expat supports.
- Source:
Encodings that expat supports.
Type:
- undefined | null | "US-ASCII" | "UTF-8" | "UTF-16" | "ISO-8859-1"
XPathFun(…params) → {XPathResult}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
params |
XPathResult |
<repeatable> |
Returns:
- Type
- XPathResult
XPathResult
Type:
- Array.<(string|number|dom.Node)>