• Max Alexander 4
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 0
    Replies
I ned to parse xml that has tags with same name, i have no issues getting any unique ones
<mainName>
<organisationName>Department of Innovation Industry Science and Research</organisationName>
<effectiveFrom>2007-12-03</effectiveFrom> </mainName>
<mainBusinessPhysicalAddress> <stateCode>ACT</stateCode> <postcode>2600</postcode> <effectiveFrom>2007-12-03</effectiveFrom> <effectiveT o>0001-01-01</effectiveT o>
</mainBusinessPhysicalAddress>

i need to extract effectiveFrom date out of mainBusinessPhysicalAddress
here is what i use
if ('effectiveto' == reader.getLocalName()) {
               if(reader.getEventType() == XmlTag.START_ELEMENT) reader.next();
                if(reader.hastext()) 
               
                
                {
                    resultRecord.effectiveAdressDate = reader.getText();
                }

however it just pick the first one how do i point it to the second part of XML?
HI,
I'm generating conga merge via pex code, i need ot pass querry parameters
here how i do it
'&QueryId='+ congaQuery2[0].id+
works  fine however if i add second querry
'&QueryId='+ congaQuery2[0].id+','congaQuery1[0].id +

it only takes the first one 
even if i swap places, the one that comes after th Comma is ignored, works fine with  button when i put querry  ID

can anyone help? conga support could not