View source code
Display the source code in std/xml.d from which this page was generated on
github.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
Page wiki
View or edit the community-maintained wiki page associated with this page.
std.xml.element.op_cat_assign
- multiple declarations
- Function Element.opCatAssign
- Function Element.opCatAssign
- Function Element.opCatAssign
- Function Element.opCatAssign
- Function Element.opCatAssign
- Function Element.opCatAssign
- Function Element.opCatAssign
- Function Element.opCatAssign
- Function Element.opCatAssign
- Function Element.opCatAssign
Function Element.opCatAssign
Append a text
item
to the interior of this element
Prototype
void opCatAssign( Text item );
Parameters
Name | Description |
---|---|
item | the item you wish to append. |
Examples
Element element; element ~= new Text("hello");
Function Element.opCatAssign
Append a CData
item
to the interior of this element
Prototype
void opCatAssign( CData item );
Parameters
Name | Description |
---|---|
item | the item you wish to append. |
Examples
Element element; element ~= new CData("hello");
Function Element.opCatAssign
Append a comment to the interior of this element
Prototype
void opCatAssign( Comment item );
Parameters
Name | Description |
---|---|
item | the item you wish to append. |
Examples
Element element; element ~= new Comment("hello");
Function Element.opCatAssign
Append a processing instruction to the interior of this element
Prototype
void opCatAssign( ProcessingInstruction item );
Parameters
Name | Description |
---|---|
item | the item you wish to append. |
Examples
Element element; element ~= new ProcessingInstruction("hello");
Function Element.opCatAssign
Append a complete element to the interior of this element
Prototype
void opCatAssign( Element item );
Parameters
Name | Description |
---|---|
item | the item you wish to append. |
Examples
Element element; Element other = new Element("br"); element ~= other; // appends element representing
Function Element.opCatAssign
Append a text
item
to the interior of this element
Prototype
void opCatAssign( Text item );
Parameters
Name | Description |
---|---|
item | the item you wish to append. |
Examples
Element element; element ~= new Text("hello");
Function Element.opCatAssign
Append a CData
item
to the interior of this element
Prototype
void opCatAssign( CData item );
Parameters
Name | Description |
---|---|
item | the item you wish to append. |
Examples
Element element; element ~= new CData("hello");
Function Element.opCatAssign
Append a comment to the interior of this element
Prototype
void opCatAssign( Comment item );
Parameters
Name | Description |
---|---|
item | the item you wish to append. |
Examples
Element element; element ~= new Comment("hello");
Function Element.opCatAssign
Append a processing instruction to the interior of this element
Prototype
void opCatAssign( ProcessingInstruction item );
Parameters
Name | Description |
---|---|
item | the item you wish to append. |
Examples
Element element; element ~= new ProcessingInstruction("hello");
Function Element.opCatAssign
Append a complete element to the interior of this element
Prototype
void opCatAssign( Element item );
Parameters
Name | Description |
---|---|
item | the item you wish to append. |
Examples
Element element; Element other = new Element("br"); element ~= other; // appends element representing
Authors
Janice Caron