Defines a container for html data.
Text must be described in HTML, within a CDATA block, or specified by a path to a source file. In a CDATA block, all characters are treated as a literal part of the element’s character data, rather than as XML markup. XML and HTML use some of the same characters to designate special processing instructions. Using the CDATA block prevents OneNote from misinterpreting HTML content as XML instructions. Inserted HTML should be valid and complete.
Namespace | http://schemas.microsoft.com/office/onenote/2004/import |
Schema name | SimpleImport |
Element | Description |
---|---|
File | Represents the file path to the html file to be imported. |
Data | Represents the html data to be imported, enclosed in CDATA tags. |
None.
<xsd:complexType name="HtmlContent">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Contains the html data to be imported.
If the html is included via a Data node, we expect it to be wrapped in
a CDATA marker.
</xsd:documentation>
</xsd:annotation>
<xsd:choice>
<xsd:element name="File" type="FilePath"/>
<xsd:element name="Data" type="xsd:string"/>
</xsd:choice>
</xsd:complexType>