Hi,
I have a question with regards to the XML to Recordset (PHP) and am wondering if this can be achieved.
I have a xml file as follows: ----------------- <NewDataSet> <Training> <Type>Writing</Type> <Description>Commercially Writing</Description> <ProjectID>7086</ProjectID> <sub id="Result">The text to show when A) Result is clicked</sub> <sub id="Data">text</sub> <sub id="Cost">text</sub> </Training>
<Training> <Type>Writing</Type> <Description>Succefull Writing</Description> <ProjectID>7086</ProjectID> <sub id="Result">text</sub> <sub id="Data">text</sub> <sub id="Cost">text</sub> <sub id="Extra field">text</sub> </Training> </NewDataSet> ----------------
What I need is the following:
A Recordset with <Training>-<Type> nodes with a link to a second Recordset that show the Sub nodes in a list (menu), that is build up from the <sub id="xxx"> nodes, on those a link to a third Recordset that show the content of the clicked sub node.
So for example I get:
MAINMENU Writing - Commercially writing (when clicked will show A as submenu) Writing - Succefull Writing (when clicked will show B as submenu)
SUBMENU A A) Result Data Cost SUBMENU B B) Result Data Cost Extra field
When one of these submenu items are clicked, for example A) result a detailfield will show the contents of the <sub id="Result" node:
Detail field:
The text to show when A) Result is clicked
Any help would be appreciated. Thanks, Ron |
|
|