in reply to Re: XML::Twig - setting text and elements
in thread XML::Twig - setting text and elements

Sorry i wasn't clear about that. I'd like everything inside of linktext to go inside of xref.

<xref><keyword conref="ds"/> support for IPv6 addresses</xref>

I also didn't mention there might be other elements midway.

<linktext><keyword conref="ds"/> support for <b>IPv6</b> addresses</li +nktext>

So I need to iterate through the @children array and handle each child, which is either text or an element.

thanks, will try these other suggestions.

Replies are listed 'Best First'.
Re^3: XML::Twig - setting text and elements
by Anonymous Monk on Sep 09, 2015 at 22:44 UTC