Question about XML
Posted: Fri Mar 19, 2010 11:12 pm
My questions:
I have a website with a few tables, within these tables I want to simply display .xml info Including GFX and text.
how do I call the xml and what are some simple xml calls!?
An example: Zone: ', (!empty($xml->Zone) ? $xml->Zone), ' Zone is where the person lives, within the xml zone for myself would be USA
How would I associate the xml file with my current page, and how would I place the code within the frame to display USA for my zone?
Is my code above correct if I associated the xml it correctly?
Second question:
Can I call or associate the xml from somewhere else? Not on my localhost? or is there some type of security thing that would stop me from doing that?
Would both work? localhost/html/myxml.xml and/or http://some other site.com/myxml.xml ?
Third question:
Is any of this making any sense, did I word it correctly at all?
Thanks guys hope someone can help.
I have a website with a few tables, within these tables I want to simply display .xml info Including GFX and text.
how do I call the xml and what are some simple xml calls!?
An example: Zone: ', (!empty($xml->Zone) ? $xml->Zone), ' Zone is where the person lives, within the xml zone for myself would be USA
How would I associate the xml file with my current page, and how would I place the code within the frame to display USA for my zone?
Is my code above correct if I associated the xml it correctly?
Second question:
Can I call or associate the xml from somewhere else? Not on my localhost? or is there some type of security thing that would stop me from doing that?
Would both work? localhost/html/myxml.xml and/or http://some other site.com/myxml.xml ?
Third question:
Is any of this making any sense, did I word it correctly at all?
Thanks guys hope someone can help.