cancel
Showing results for 
Search instead for 
Did you mean: 

Include file in xsl

najd_
Champ on-the-rise
Champ on-the-rise

Hello i'm linking XML files with the XSL using PHP ,

    //load blob of xsl file that exists in Nuxeo 
    //load blob of xml file that exists in Nuxeo



    //Load XSL from a string 
     $xslDoc = new \DOMDocument();
    $xslDoc->loadXML($xsl);

  
  //Load XML from a string 
    $xmlDoc = new \DOMDocument();
    $xmlDoc->loadXML($xml);

    $metadata = $simpleXml->xpath($xpath);
    $proc = new \XSLTProcessor();
    $proc->importStylesheet($xslDoc);
    $output = $proc->transformToXML($xmlDoc);

My files XML and XSl are existing in my plateform Nuxeo, The XSL file has this line **<xsl:include href="outils.xsl"/>**. The problem is here "$proc->importStylesheet($xslDoc);" He cannot include outils.xsl that exists in Nuxeo , Is there any Solution?

0 REPLIES 0
Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.