PHP Classes

If this could return all the elements of the XML it would be ...

Recommend this page to a friend!

      XML Tools  >  All threads  >  If this could return all the...  >  (Un) Subscribe thread alerts  
Subject:If this could return all the...
Summary:Package rating comment
Messages:1
Author:Aris Lazaridis
Date:2011-11-23 17:27:36
 

Aris Lazaridis rated this package as follows:

Utility: Sufficient
Consistency: Sufficient
Examples: Sufficient

  1. If this could return all the...   Reply   Report abuse  
Picture of Aris Lazaridis Aris Lazaridis - 2011-11-23 17:27:36
If this could return all the elements of the XML it would be grate.

although the XML that I used had the following structure
<?xml version="1.0" encoding="UTF-8"?>
<Main>
<FileSecurityHeader>
<InterfaceVersionNumber>01.0</InterfaceVersionNumber>
<KeyListId>1</KeyListId>
</FileSecurityHeader>
<Element1>
<SubElement2>
<Field1>NP RFS Broadcast</Field1>
<Field2>P201111071718310239</Field2>
<Field3>HOLF3144783</Field3>
</SubElement2>
<SubElement2>
<Field1>NP RFS Broadcast</Field1>
<Field2>P201111181552113156</Field2>
<Field3>TL2653885A</Field3>
</SubElement2>
</Element1>
<DataFooter>
<TotalMessageCount>2</TotalMessageCount>
</DataFooter>
</Main>

it returned only the first Subelement2
and not all the records in the XML

but either way very nice work

 
For more information send a message to info at phpclasses dot org.