SYNOPSISxsltStylesheet xsltParseStylesheetString(string xsl)
Parameters:
doc
- the XSL data to parse
Returns:
xsltStylesheet
DESCRIPTIONxsltParseStylesheetDoc
is used to create a new
xsltStylesheet
from XSL stylesheet data in a string. If you're
reading the string from a file, you can use
xsltParseStylesheetFile
instead.
EXAMPLE<capture>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html><body>I'm transformed!</body></html>
</xsl:template>
</xsl:stylesheet>
</capture><$xslRaw = $ret>
<$style = (xsltParseStylesheetString($xslRaw))>
SEE ALSOxsltApplyStylesheet
,
xsltParseStylesheetDoc
,
xsltParseStylesheetFile