Hi all,
I need help in developing a logic for extracting data from a custom object for properties mentioned in XML file.
For example,
Let's take a custom class : Customer.
This customer class has properties : Customer Number, Name, Address, Phone, etc.
Now the XML file looks like
="1.0"="utf-8"
<Customer>
<CustomerNumber displayName="Customer Number" ListOrder="1">Customer.Number</CustomerNumber>
<Name displayName="Name" ListOrder="2">Customer.Name</Name>
<Adress displayName="Address" ListOrder="3">Customer.Address</Adress>
<Phone displayName="Phone" ListOrder="4">Customer.Phone</Phone>
</Customer>
I will be receiving Customer Object from another project.
What i need to know is, how can I extract the data from Customer object using above XML file.
For example,
If currently in XMLReader, Customer.Name is present then I have Name from Customer Object which I have received.
Can anyone help me please?
Thanks in advance.
P.S. Above XML can be modified as per needs.