NativeScript Docs
Core Modules
NativeScript Angular
NativeScript UI
Article title
view in github
Search
Preparing search index...
The search index is not available
NativeScript
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"@nativescript/core"
XmlParser
Class XmlParser
Globals
"@nativescript/core"
Font
Style
Font
Weight
Grid
Unit
Type
Length
Percent
Length
Screen
ad
categories
encoding
ios
known
Folders
layout
message
Type
path
Xml
Parser
constructor
parse
Hierarchy
XmlParser
Index
Constructors
constructor
Methods
parse
Constructors
constructor
new
Xml
Parser
(
onEvent
:
function
, onError
?:
function
, processNamespaces
?:
boolean
, angularSyntax
?:
boolean
)
:
XmlParser
Parameters
onEvent:
function
(
event
:
ParserEvent
)
:
void
Parameters
event:
ParserEvent
Returns
void
Optional
onError:
function
(
error
:
Error
, position
:
Position
)
:
void
Parameters
error:
Error
position:
Position
Returns
void
Optional
processNamespaces:
boolean
Optional
angularSyntax:
boolean
Returns
XmlParser
Methods
parse
parse
(
xmlString
:
string
)
:
void
Parameters
xmlString:
string
Returns
void
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
🐛 Debug your mobile network traffic with Fiddler! Try it on
iOS
or
Android