Parse XML rules repeating Element parsing the map 1st element value to property in pagelist

Hi All,

i have XML in a string property, the XML is having a repeating element 1 & 2, after applying Apply-Parse-XML, the value for “item.title” in PEGA Page always set from the 1st element from the XML ("Element1") . the number of page list result count is correct, same as the number of the repeating element (item) which 2 for below XML.

Sample XML :


Kuuga

Element1




Element2
5
100.0

515.0



After Parsing :

Item(1) title Element1
quantity
price
Item(2) title Element1
quantity
price

Any idea what could be the reason?

@MOHAMADZUFRIA

Could you please go through the article. It has the solution for this problem.

How to parse xml for repeat elements | Support Center

@PraveenSiva thanks for your suggestion, I’ve already went through the discussion and article, however, I’m unable to find the DSS "SwitchToOldAssembler" in my PEGA dev studio(8.6.1) DSS to try the solution suggested .

@MOHAMADZUFRIA

Could you please try to create the DSS if it is not existed in your dev environment and try the use-case. The below article explains about the creation of this DSS.

@P.Siva.Praveen Thanks ! after creating the DSS, i test the Parser, it is mapping according to the value from each of the XML repeating element properly now.

@P.Siva.Praveen

I am also facing same issue repeating page list not coming properly. But after creating DSS in pega 8.7.5 version Element values coming properly, but attribute values are missing.

How to get that attribute value?

Please help me on that