SampleClassIncludeSectionsExample Method

In this example, the include element is used to pull in sections of the comments.

Definition

Namespace: XMLCommentsExamples
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
public void IncludeSectionsExample()

Remarks

As shown in these examples (see source code). Single and double quotes can be used on the XPath query when nested quotes are required. The key is to be consistent.

This pulls in a single paragraph element.

This paragraph was imported from an external XML file.

This pulls in a all the content of the element.

Paragraph 1

Paragraph 2

See Also