rajivreddy has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks I need to extract the values of the TABNAMES and the values of the elements between the <Links> elements repetatively.Please help<press-release> <PromoModuleOne> <ModuleBackgroundImage>images/section_bg.png</ModuleBackground +Image> <ColorCode>BLUE</ColorCode> <LeftColoumn> <PromoImage>XXXXXX</PromoImage> <HeadingImage>XXXXXX</HeadingImage> <PromoLink>XXXXXX</PromoLink> <PromoText>XXXXXX</PromoText> </LeftColoumn> <RightColoumn> <Tabs> <TabName>XXXX</TabName> <Links> <AssetTitle>asd</AssetTitle> <AssetSource>asdasd</AssetSource> <AssetLink>asdsadasd</AssetLink> </Links> <Links> <AssetTitle>sadas</AssetTitle> <AssetSource>asdsa</AssetSource> <AssetLink>dasdas</AssetLink> </Links> </Tabs> <Tabs> <TabName>XXXX</TabName> <Links> <AssetTitle>dsfsdfds</AssetTitle> <AssetSource>dsfds</AssetSource> <AssetLink>sdfdsfsdf</AssetLink> </Links> </Tabs> </RightColoumn> </PromoModuleOne> </press-release>
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: need to parse nested XML
by tmharish (Friar) on Mar 04, 2013 at 04:28 UTC | |
Re: need to parse nested XML
by rajivreddy (Initiate) on Mar 04, 2013 at 04:53 UTC | |
by vinoth.ree (Monsignor) on Mar 04, 2013 at 05:02 UTC | |
by rajivreddy (Initiate) on Mar 04, 2013 at 05:12 UTC | |
by Jenda (Abbot) on Mar 04, 2013 at 08:35 UTC | |
by Anonymous Monk on Mar 04, 2013 at 08:31 UTC | |
by vinoth.ree (Monsignor) on Mar 04, 2013 at 06:35 UTC |
Back to
Seekers of Perl Wisdom