valueType attribute (fileName element)
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

valueType Attribute (fileName Element)

Office 2003

Specifies whether the value of the fileName element should be interpreted as a literal value or as an XPath expression that returns a value.



Parent Elements

Element Description
fileName Contains the name of the file as a literal string or as an XPath expression.


    <xsd:attribute name="valueType" type="xsf:xdExpressionLiteral" use="optional"></xsd:attribute>



Note  This item is not supported when the Disable Service Pack features option on the Advanced tab of the Options dialog box in InfoPath is selected or when Microsoft Office 2003 Editions Service Pack 1 or later is not installed. Any form defined by a form definition file (.xsf) that includes this item cannot be opened in InfoPath when service pack features are disabled or unavailable.


The following is an example of the valueType attribute as it is used in the fileName element:

    <xsf:fileName value="my:myFields/my:fileName" valueType="expression"/>

Parent Objects | fileName Element

© 2016 Microsoft