Guy's,
If have an issues when reading an XML formatted file.
There is one part of the file that looks like the example given below. More data is above and below this example but that is all being processed like it should. This is the only part that gives me a hard time reading it. The [ and ] should be replaced by the < and > because the board sees it as HTML commands so you can't see them.
Code:
[occasion]
[fotos]
[foto nr="1">9120_TBGX66_1.JPG[/foto]
[foto nr="2">9120_TBGX66_2.JPG[/foto]
[/fotos]
[/occasion]
I used some XML code from this thread that has code by Shawn, Jose and Jim but I do not see a solution in there for reading both lines from the example file above. Is there a solution for this so I can read both lines and not just the first line?
The nr="x" part is can be different each time. It can be from 1 to 2 but it can also be from 1 to 50. Preferably all lines should be in different variables.
_________________________
Mart
- Chuck Norris once sold ebay to ebay on ebay.