xsltParseStylesheetString

 

SYNOPSIS

    xsltStylesheet xsltParseStylesheetString(string xsl)

Parameters:

  • doc - the XSL data to parse

Returns:

  • the new xsltStylesheet


DESCRIPTION
xsltParseStylesheetDoc 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 ALSO
xsltApplyStylesheet, xsltParseStylesheetDoc, xsltParseStylesheetFile


Copyright © Thunderstone Software     Last updated: Dec 10 2018
Copyright © 2019 Thunderstone Software LLC. All rights reserved.