Perl Monk, Perl Meditation | |
PerlMonks |
Re: XML::Rules Parsing Orderby BrowserUk (Patriarch) |
on Feb 09, 2015 at 19:40 UTC ( [id://1116095]=note: print w/replies, xml ) | Need Help?? |
Will parent_tag or child_tag be parsed first? i.e. Does the parsing happen when a start tag is met, or when an end tag is met? The docs say: These rules are evaluated/executed whenever a tag if fully parsed including all the content and child tags and they may access the content and attributes of the specified tag plus the stuff produced by the rules evaluated for the child tags. So, child tags are parsed before parent tags; so that the parent tag rules have access to whatever is produced from the parsing of the child tags. Is there a way to always have parent_tag to be parsed first? Doesn't look like it. But why would you want to? With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
I'm with torvalds on this
In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked
In Section
Seekers of Perl Wisdom
|
|