domdocument ein css als xml-stylesheet zuordnen
frankx
- php
1 frankx
Hellihello
wie kann ich einem $doc=new DOMdocument('1.0','iso-8859-1');
ein <?xml-stylesheet type="text/css" href="css.css"?>
hinzufügen. Ich find das nicht bei php.net oder google. Vermutlich fussballblind.
Dank frankx
Hellihello
$dom->appendChild($dom->createProcessingInstruction(
'xml-stylesheet', 'href="test.xsl" type="text/xsl"'));
frankx