Jump to content
php.lv forumi

Neraadaas XML uz Serveris.lv


A_more

Recommended Posts

$xml = new DomDocument();

$xml->load('http://www.bank.lv/vk/xml.xml');

 

$xsl = new DomDocument();

$xsl->load('banka.xsl');

 

$xslt = new XSLTProcessor();

$xslt->importStylesheet($xsl);

 

$transformation = $xslt->transformToXml($xml);

 

 

Kas te nepareizs?? Serveris lv pieeju iedeva, par to es paarliecinaajos, bet taa pat neraada.. Vai var taa buut ka nav kaut kaads DomDocument, vai XSLTProcessor atbalsts, lai gan man skiet ka taa nevar buut..

Link to comment
Share on other sites

×
×
  • Create New...