Documents for Word .NET Edition
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / XmlMapping Class
Properties Methods

In This Topic
    XmlMapping Class Members
    In This Topic

    The following tables list the members exposed by XmlMapping.

    Public Properties
     NameDescription
    Public PropertyGets the identifier of the CustomXmlPart which shall be used to evaluate the given XPath property. If specified, then the XPath expression specified in the XPath property shall only be evaluated against the custom XML part whose properties part has a matching identifier. If no custom XML part exists with a matching identifier, then the XML mapping shall not be connected. If value is null or empty, then the XPath expression shall be evaluated against each custom XML data part in turn until the given XPath expression is resolved to an XML node.  
    Public Property Gets whether a mapping between a content control and an XML node stored within a Custom XML Data part in the document is established sucessfully.  
    Public PropertyGets the set of prefix mappings which shall be used to interpret the XPath expression specified on the XPath property when the XPath expression is evaluated against the custom XML data parts in the document. This property value shall be specified using the following syntax: xmlns:prefix='namespace', where prefix is the namespace prefix to be mapped, and namespace is the namespace to be mapped to the current prefix. Each prefix mapping shall be delimited by one or more whitespace characters.  
    Public PropertyGets whether the xml mapping supports a content control with ContentControlType.RichText type. if false (default), the rich text content controls are not supported, so no data stored in the XML node is mapped for this kind of controls. if true, the data stored in the XML node will be an escaped string comprised of a flattened document representing the formatted data in the content control range.  
    Public Property Gets the XPath expression which shall be evaluated to find the custom XML node which is mapped to the content control. This XPath expression shall be specified using the syntax defined in the XML Path Language (XPath) Version 1.0 specification.  
    Top
    Public Methods
     NameDescription
    Public Method Removes mapping between a content control and an XML node stored within a Custom XML Data part in the document.  
    Public Method Determines whether the specified object is equal to the current object.  
    Public Method Serves as the default hash function.  
    Public MethodOverloaded.  Set mapping between a content control and an XML node stored within a Custom XML Data part in the document.  
    Public MethodTries get inner xml of the mapped node stored within a XmlDocument in the document.  
    Public MethodTries set inner xml to the mapped node stored within a XmlDocument in the document.  
    Top
    See Also