GXmlProcessingInstruction

GXmlProcessingInstruction — Interface for XML Processing Instruction sections.

Functions

Types and Values

Description

Functions

gxml_processing_instruction_get_target ()

gchar *
gxml_processing_instruction_get_target
                               (GXmlProcessingInstruction *self);

Get and return the current value of the "target" property.

The target for the processing instruction, like "xml-stylesheet".

Parameters

self

the GXmlProcessingInstruction instance to query

 

Returns

the value of the "target" property


gxml_processing_instruction_get_data ()

gchar *
gxml_processing_instruction_get_data (GXmlProcessingInstruction *self);

Get and return the current value of the "data" property.

The data used by the target, like

href="style.xsl" type="text/xml"

Parameters

self

the GXmlProcessingInstruction instance to query

 

Returns

the value of the "data" property


gxml_processing_instruction_set_data ()

void
gxml_processing_instruction_set_data (GXmlProcessingInstruction *self,
                                      const gchar *value);

Set the value of the "data" property to value .

The data used by the target, like

href="style.xsl" type="text/xml"

Parameters

self

the GXmlProcessingInstruction instance to modify

 

value

the new value of the "data" property

 

Types and Values

GXmlProcessingInstruction

typedef struct _GXmlProcessingInstruction GXmlProcessingInstruction;

Interface for XML Processing Instruction sections.


struct GXmlProcessingInstructionIface

struct GXmlProcessingInstructionIface {
	GTypeInterface parent_iface;
	gchar* (*get_target) (GXmlProcessingInstruction* self);
	gchar* (*get_data) (GXmlProcessingInstruction* self);
	void (*set_data) (GXmlProcessingInstruction* self, const gchar* value);
};

Interface for creating GXmlProcessingInstruction implementations.

Members

GTypeInterface parent_iface;

the parent interface structure

 

get_target ()

getter method for the abstract property "target"

 

get_data ()

getter method for the abstract property "data"

 

set_data ()

setter method for the abstract property "data"