You can disable the data-type search by selecting the
disable_XSD_type_search
property of the
Content
anchor. If you do that, the anchor searches according to the other criteria, without regard to the type of the data holder.
If the result does not have the proper type, it cannot be stored in the data holder and the anchor fails. You can use transformers to convert the result to the proper type and prevent the failure. For more information, see
Transformers Overview.
For example, suppose that the source document contains a date in the
dd-mm-yyyy
format, and you want to store the date in an
xs:date
data holder. You can handle this situation in the following way: