SimpleXML.this

Creates a new parse context. A parse context is used to parse marked-up documents. You can feed any number of documents into a context, as long as no errors occur; once an error occurs, the parse context can't continue to parse text (you have to free it and create a new parse context).

  1. this(GMarkupParseContext* gMarkupParseContext, bool ownedRef)
  2. this(GMarkupParser* parser, GMarkupParseFlags flags, void* userData, GDestroyNotify userDataDnotify)

Parameters

parser GMarkupParser*

a #GMarkupParser

flags GMarkupParseFlags

one or more #GMarkupParseFlags

userData void*

user data to pass to #GMarkupParser functions

userDataDnotify GDestroyNotify

user data destroy notifier called when the parse context is freed

Return Value

a new #GMarkupParseContext

Throws

ConstructionException GTK+ fails to create the object.

Meta