problem in transfering XSLT on <textarea> tag.
Posted: Wed Sep 06, 2006 6:49 am
PHP convert the <textarea></textarea> to <textarea /> which is not good since the following code is place inside the <textarea> content.
What should I do that it's convert to <textarea></textarea>?
I use in this PHP code to convert:
What should I do that it's convert to <textarea></textarea>?
I use in this PHP code to convert:
Code: Select all
<?php
$xml = new DOMDocument;
$xml->load('try.xml');
$xsl = new DOMDocument;
$xsl->load('try.xsl');
$proc = new XSLTProcessor;
$proc->importStyleSheet($xsl); // attach the xsl rules
echo $proc->transformToXML($xml);
?>