Extension to my Previous Question which is placed here "Hyperlink in help text which comes from XML"
My requirement was changed Now and it was a bit tough one.... :( My xml is something like this
<?xml version="1.0" encoding="ISO-8859-1"?>
<HelpTextDetails>
<BaseURL>SomeUrl here</BaseURL>
<HelpTab TabName="Account__c" Label="Account___c">
<TabSection Name="Settings__c">
<HelpLink link="Google.com" >Settings Link</HelpLink>
<HelpVideo video="Yahoo.com" >Settings Video</HelpVideo>
</TabSection>
<HelpTab>
So on like this......
<HelpTextDetails>
Say Account_c is a custom tab here & in that Settings_c is a sub tab.Now when I click on settings helptext should appear.My problem here is how can I compare a value which is coming from xml with a Custom tabName and again with a subtab and appropriately render the helptext.
My Apex class and Vf Page can be found here "Hyperlink in help text which comes from XML"