Difference between revisions of "6240: mobil og trådløs system"
(→Klasse 6240 ) |
m (Viser brug af <source> tag) |
||
Line 2: | Line 2: | ||
== PHP SimpleXML == | == PHP SimpleXML == | ||
− | < | + | <source lang=php> |
+ | /* Her hentes XML filens indhold ind i en variabel */ | ||
$xmlIndholdet = file_get_contents("http link til data"); | $xmlIndholdet = file_get_contents("http link til data"); | ||
/* Her instancieres XML indholdet */ | /* Her instancieres XML indholdet */ | ||
Line 15: | Line 16: | ||
− | </ | + | </source> |
+ | |||
== Links == | == Links == | ||
Revision as of 10:53, 28 September 2011
Klasse 6240
PHP SimpleXML
/* Her hentes XML filens indhold ind i en variabel */
$xmlIndholdet = file_get_contents("http link til data");
/* Her instancieres XML indholdet */
$xmlObject = new SimpleXMLElement( $variable_til_indhold );
foreach($data_object->datacontainer as $item)
{
echo "datapunkt: ".$item->datapunktet."</br>";
}
Links
WAMP server : http://www.wampserver.com/en/
XHTML: http://www.developershome.com/wap/xhtmlmp/xhtml_mp_tutorial.asp?page=introduction
XHTML MP : http://www.developershome.com/wap/xhtmlmp/xhtml_mp_tutorial.asp?page=introduction
XLS: http://www.w3schools.com/xsl/default.asp
Android Emulator : http://www.4shared.com/get/-7oe9aMn/Android_Emulator_15_PC.html
OpenWave Simulator: http://programa.nii.com/en/en/technologies/wml/simulator7
Begynder introduktion til php : http://phpartikler.dk/index.php
SimpleXML: http://www.php.net/manual/en/simplexml.examples-basic.php
Android
Installation af SDK og Udvilkingsværktøj: http://www.version2.dk/artikel/android-skolen-del-1-saadan-bliver-du-klar-til-kode-paa-30-minutter-12752
Lars Vogel :http://www.vogella.de/articles/Android/article.html