| mfhiltabidel (3) | |
|
I have a data file that I am trying to read into a program. The format looks very familiar, but I haven't quite been able to figure out what it is. Unfortunately it has become one of those situations where I am chasing my own tail. Could anyone identify this for me. <Title1> item1="some value" item2= 1234 </Title1> <Title2> item1="another value" item2="more values" </Title2> Thank you. | |
|
|
|
| ResidentBiscuit (2650) | |
| Is it PHP? I don't have much experience there but it resembles it. It definitely looks like some language for the web. | |
|
|
|
| chrisname (6191) | |
| It's not PHP, PHP looks nothing like that. It doesn't look like any language I've ever come across. It looks like the demon spawn of HTML and INI. | |
|
|
|
| ResidentBiscuit (2650) | |
|
http://www.w3schools.com/php/php_ajax_database.asp There's some similarities. I've never touched PHP though, so you're probably right. | |
|
|
|
| chrisname (6191) | |||||
In that example it's being embedded in a HTML file, which you do like this:
And being used to generate HTML, which you do like this:
| |||||
|
Last edited on
|
|||||
| ResidentBiscuit (2650) | |
| Aah I see. My ignorance has bested me again -_- | |
|
|
|
| mfhiltabidel (3) | |
|
Originally I did think that it was HTML, then I noticed that the key/values were in INI format. Occasionally in the file, when there are multiple subgroups under one title, it does revert to a more pure INI format. <Title1> [Subgroup1] .. .. [Subgroup2] .. .. </Title2> | |
|
|
|
| chwsks (304) | |||
are you sure it doesn't look a little more like this:
because it looks like xml to me. | |||
|
|
|||
| mfhiltabidel (3) | |
| You did make me double check, but it is not formatted like xml. | |
|
|
|