MarkLogic XML to JSON conversion
问题 I am trying to convert this XML file into JSON but unable to get any success. I have two child element in my XML but it is returning only last one. How to get both the records in JSON format? XML <Carousel> <Video> <Title>1</Title> <Abstract>3</Abstract> <FileName type="custom" mediatype="image">D</FileName> <HasAccess>4</HasAccess> </Video> <Video> <Title>1</Title> <Abstract>2</Abstract> <FileName type="custom" mediatype="image">D</FileName> <HasAccess>3</HasAccess> </Video> </Carousel>