HtmlContent complex Type

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.

Type Information

Namespace http://schemas.microsoft.com/office/onenote/2004/import
Schema name SimpleImport

Elements and Attributes

Child Elements

Element Description
File Represents the file path to the html file to be imported.
DataRepresents the html data to be imported, enclosed in CDATA tags.

Attributes

None.

Definition

			
<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>

		
©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp