paragraph-sep Element
Applies to: SharePoint Server 2010
<paragraph-sep>paragraphSeparatorValue</paragraph-sep>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
None.
Parent Elements
Element |
Description |
---|---|
Specifies the parent element for XML Mapper configuration. |
Text Value
A string value that is detected as a string separator in XML elements. Normally, a single character is used.
Remarks
Only one element is permitted.
If specified, the created crawled properties are turned into multivalued crawled properties by splitting the content on the separator string. The result for searching is a phrase boundary between the individual values.
Example
The following example shows how to ensure that a multivalue string, where each substring is separated by semicolon, is mapped to a multivalue crawled property.
<XMLPropertiesCreator>
<propset>d6ee4933-09c4-46e3-a5e4-b3787cb4a090</propset>
<type>31</type>
<paragraph-sep>;</paragraph-sep>
<XMLMappings>
<Mapping attr="mytags" path="//Tags"/>
</XMLMappings>
</XMLPropertiesCreator>
An XML input <Tags>xps;office;xml</Tags> will be mapped to the specified crawled property as a multivalue string with the values xps, office, and xml.