The p element represents a paragraph in the topic text. This element may contain text, and a number of child elements.
Description
Attributes
Attribute Name | Optional | Data Type | Meaning |
id | No | Integer > 0 | Style ID |
pid | Yes | Integer > 0 | Xtend TextFragmentID |
nid | Yes | Integer > 0 | Xtend TextBlockID |
Parent Element
Text
Children
Element | Optional | Occurs |
br | Yes | Zero to many times |
cs | Yes | Zero to many times |
fref | Yes | Zero to many times |
href | Yes | Zero to many times |
mref | Yes | Zero to many times |
nbd | Yes | Zero to many times |
nbs | Yes | Zero to many times |
tref | Yes | Zero to many times |
Values
Data Type | Range |
String | 0 to 4000 characters long. |
Sample XML
<Text>
<p id="1065">Description</p>
- <p id="3">
<href id="263">PrintSubTitle</href>
hyperlink
</p>
- <p id="3">
Text with
<br />
soft
<br />
line breaks.
</p>
- <p id="1065">
Attributes
</p>
- <table rows="2" cols="2" width="4230">
- <tr rowheight="0">
- <td width="2520" bordercolors="65793">
<p id="21">Attribute Name</p>
</td>
- <td width="1710" bordercolors="65793">
<p id="21">Optional</p>
</td>
</tr>
- <tr rowheight="0">
- <td width="2520" bordercolors="65793">
<p id="15">inherited</p>
</td>
- <td width="1710" bordercolors="65793">
<p id="15">Yes</p>
</td>
</tr>
</table>
- <p id="3">
Non
<nbs />
breaking
<nbs />
space.
</p>
- <p id="3">
Non
<nbd />
breaking
<nbd />
dash.
</p>
<p id="12">List item one</p>
<p id="12">List item two</p>
- <p id="3">
File object:
<fref id="2718" />
</p>
- <p id="3">
Macro object:
<mref id="510">Close Main Window</mref>
</p>
- <p id="3">
Embedded topic:
<tref id="7541" />
</p>
</Text>