how to get value from property file in spring xml file

<!-- Step 1: Define a PropertyPlaceholderConfigurer bean to load properties file -->
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property name="location" value="" />

<!-- Step 2: Use the properties in your Spring XML configuration -->
<bean id="yourBean" class="your.package.YourClass">
    <property name="propertyName" value="${property.key}" />

Make sure to replace "" with the actual name and path of your properties file, and "your.package.YourClass" with the package and class name where you want to use the properties. Also, replace "propertyName" with the actual property name in your class, and "property.key" with the key of the property in your properties file.