forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


XML Help

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1751
Location: Space and Time

PostPosted: Fri Dec 28, 2007 9:18 pm    Post subject: XML Help Reply with quote

I want a list of nodes from an XML file, one level deep. For example, I would like to have a function return Banner, Banner1, and Banner2 from the code below. I looked at the help file in VDS 6 but was unable to to find a way to do that. Can anyone help out? Thanks!!
Code:

<Main_Dlg>
  <Banner>
    <Top>4</Top>
    <left>4</left>
    <width>700</width>
    <height>100</height>
    <normal>#banner_n.jpg</normal>
    <pressed>#banner_p.jpg</pressed>
    <URL>http://</URL>
  </Banner>
  <Banner1>
    <Top>4</Top>
    <left>4</left>
    <width>700</width>
    <height>100</height>
    <normal>#banner_n.jpg</normal>
    <pressed>#banner_p.jpg</pressed>
    <URL>http://</URL>
  </Banner1>
  <Banner2>
    <Top>4</Top>
    <left>4</left>
    <width>700</width>
    <height>100</height>
    <normal>#banner_n.jpg</normal>
    <pressed>#banner_p.jpg</pressed>
    <URL>http://</URL>
  </Banner2>
</Main_Dlg>

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 413
Location: Australia

PostPosted: Sat Dec 29, 2007 9:00 am    Post subject: Reply with quote

Should be as simple as selecting the Main_Dlg node, and then listing your Banner nodes. But how exactly you do that...
_________________
cheers

Dave
Back to top
View user's profile Send private message
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Sat Dec 29, 2007 1:41 pm    Post subject: Reply with quote

I think that since it is a VDS 6 question and it just got released, you should post on the dialogscript.com forums. Very Happy

Thanks,

Martin
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group