<?php $xslAttributes = 'href="sample.xsl" type="text/xsl"'; $xmlStylesheet = new DOMProcessingInstruction('xml-stylesheet',$xslAttributes); $doc = new DOMDocument('1.0','UTF-8'); $doc->appendChild($xmlStylesheet); ?>
Subscribe to:
Post Comments (Atom)
Thank you, just what I was looking for.
ReplyDelete