Announcement

Collapse
No announcement yet.

XML GetValue Help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • XML GetValue Help

    Hey there I having some problems returning values from XML.GetValue when the Value is nested in another array.

    EG:

    PHP Code:
    XML
        
    >Seed
            
    >ID<
            >
    URL<
            >
    Source
                
    >Fetch
                    
    >ID<
                    >
    URL<
                <
    Fetch
                
    >Fetch
                    
    >ID<
                    >
    URL<
                <
    Fetch        
            
    >Source
        
    <Seed
        
    >Seed
            
    >ID<
            >
    URL<
            >
    Source
                
    >Fetch
                    
    >ID<
                    >
    URL<
                <
    Fetch
                
    >Fetch
                    
    >ID<
                    >
    URL<
                <
    Fetch        
            
    >Source
        
    <Seed
    >xml 
    I loop to get the data the first time but then I am having a problem to get the second
    table

    XML.GetValue('xml/seed:'..CountSeed..'/id') <-- Works
    XML.GetValue('xml/seed:'..CountSeed..'/source/fetch:'..CountFetch..'/id') <-- dose not work.

    So how do I return the second lot of data within the table ?
    Plugins or Sources MokoX
    BunnyHop Here

  • #2
    OK I feel like a fool it was not the software or function at fault, it was my problem I forgot a Value to send to the server to get more details tho it would of been nice if the XML function return nil not a blank value and I would of known I never returned that detail from the server
    Plugins or Sources MokoX
    BunnyHop Here

    Comment

    Working...
    X