ElementGetNameAndNs Method
|
Splits full name on namespace prefix and name.
Namespace:
Syntactik.DOM.Mapped
Assembly:
Syntactik (in Syntactik.dll) Version: 0.3.0-beta1
Syntaxpublic static Tuple<string, string> GetNameAndNs(
string name,
int nameQuotesType
)
Parameters
- name
- Type: SystemString
Full name of a pair - nameQuotesType
- Type: SystemInt32
Type of quotes used to define the name.
0 - no quotes, 1 - single quotes, 2 - double quotes.
Return Value
Type:
TupleString,
StringFirst item of tuple stores namespace prefix. Second item of tuple stores a name.
See Also