~~NOCACHE~~ # LOAD XML FILE $XML = new DOMDocument(); $XML->load('https://www.drakmrak.cz/mydata/CZCastle.gpx'); # START XSLT $xslt = new XSLTProcessor(); $XSL = new DOMDocument(); $XSL->load('https://www.drakmrak.cz/mydata/MyStromy.xsl'); $xslt->importStylesheet( $XSL ); print $xslt->transformToXML( $XML );