Xpath to append ids form an sequence string and assigning in a string

Viewed 42

Can you please help me to put this elements from a node in single quotes and separated by comma
Example. <sf:Id>0018000000yDQ82AAG</sf:Id> <sf:AccountNumber>835</sf:AccountNumber> <sf:Direct_Models_Ids__c>a1H800000020uWVEAY;a1H800000020uVzEAI;a1H800000020uWUEAY;a1H800000020uX2EAI;</sf:Direct_Models_Ids__c>

<F_model_ids>('a1H800000020uWVEAY','a1H800000020uVzEAI','a1H800000020uWUEAY','a1H800000020uX2EAI')</F_model_ids>

Can suggest how to do this using xpath

Thanks

1 Answers
Related