DwZone Forum DwZone Forum
Welcome to the DwZone-it Forum
 
  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  
    RegisterRegister -->   LoginLogin  
Other extensions  
DwZone Forum Index -> Other extensions

Moderators: AdministratorsModerators 
Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Set Options' to save your changes.
New Topic Search for
 View     Per page     Messages Since 
Messages 131 to 140 of 483 (Total: 237) First |  Prev |  Next |  Last  
 Subject Author Date  
   Re: XML recordset  
View this persons public profile  Gianluigi   5:08 17 Jun 2011  
   Re: XML recordset  
View this persons public profile  PR   5:20 17 Jun 2011  
   Re: XML recordset  
View this persons public profile  Gianluigi   5:24 17 Jun 2011  
   Re: XML recordset  
View this persons public profile  PR   5:30 17 Jun 2011  
    Php XmlRecordset question with regards to "Sub-nodes"  
View this persons public profile  ronald   3:38 25 May 2011  
 
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
 
Reply to this current thread  View this persons public profile  Send Private Message
   Re: Php XmlRecordset question with regards to "Sub-nodes"  
View this persons public profile  Gianluigi   10:11 25 May 2011  
   Re: Php XmlRecordset question with regards to "Sub-nodes"  
View this persons public profile  ronald   23:40 25 May 2011  
   Re: Php XmlRecordset question with regards to "Sub-nodes"  
View this persons public profile  Gianluigi   11:12 26 May 2011  
   Re: Php XmlRecordset question with regards to "Sub-nodes"  
View this persons public profile  ronald   23:43 26 May 2011  
   Google Maps / Facebox  
View this persons public profile  RichardC   12:41 15 May 2011  
Last Visit: Wednesday 25 Dec, 2024 6:50 am First |  Prev |  Next |  Last  
 Login
Username:  Password:    
Read Message Read Message   Unread message Unread message
Read message [popular] Read message [popular]   Unread message [popular] Unread message [popular]
Read message [locked] Read message [locked]   Unread message [locked] Unread message [locked]
All times are GMT-1

Jump to: