> I know the answer of second question after reading a quick reference of 
> twig...

You know the answer to your first question as well - you've been looking at 
it the whole day :)

> >I have examined the XML file and all <Topic/>with <link/> children are 
> >followed by their own <ExternalPage/>s. If there is a <Topic/> without 
> ><link/> inside, it is followed by a new <Topic/>.

You wrote this paragraph yourself. Doesn't this sound like natural 
interleaving? 

> >codes, I found that the execute order of these two subroutines is:
> >
> ><Topic/> -> if no <link/> child, go to the next <Topic/> -> if there is 
> ><link/> child, go to its following <ExternalPage/> -> until there is no 
> >more <Topic/> nodes. I don't know that which part of codes control this 
> >order, is it because of the order of two handlers you set in twig_handlers 
> >which indicates the twig process should be interleaving?

Once again - you first wrote the answer, then wrote the question to it. Read 
it again (and again if it's necessary :)

Peter


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to