[Servingxml-help] count on the repeating group
Brought to you by:
danielaparker
From: Ravikumar T. <ra...@gm...> - 2007-03-22 21:51:34
|
Hi I have a positional record with a repeating group of elements. But the count is variable. eg 005CODE1CODE2CODE3CODE4CODE5JUNK1JUNK2 Expected output: <codes count=5> <code>CODE1</code> <code>CODE2</code> <code>CODE3</code> <code>CODE4</code> <code>CODE5</code> </codes> The first 3 letters of the line determine the # of Codes available in the rest of the list. After CODE5, the rest of the line should be ignored. The count attribute on the <sx:repeatingGroup> element in ServingXML is fixed. Is it possible to take value of another positional field in the count attribute. Or any other alternatives? Regards Ravi |