<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Include file in xsl in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/include-file-in-xsl/m-p/325204#M12205</link>
    <description>&lt;P&gt;Hello i'm linking XML files with  the XSL using PHP ,&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;    //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-&amp;gt;loadXML($xsl);

  
  //Load XML from a string 
    $xmlDoc = new \DOMDocument();
    $xmlDoc-&amp;gt;loadXML($xml);

    $metadata = $simpleXml-&amp;gt;xpath($xpath);
    $proc = new \XSLTProcessor();
    $proc-&amp;gt;importStylesheet($xslDoc);
    $output = $proc-&amp;gt;transformToXML($xmlDoc);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;My files XML and XSl are existing in my plateform Nuxeo, The XSL file has this line  &lt;CODE&gt;**&amp;lt;xsl:include href="outils.xsl"/&amp;gt;**&lt;/CODE&gt;.
The problem is here "$proc-&amp;gt;importStylesheet($xslDoc);"  He cannot include outils.xsl that exists in Nuxeo , Is there any Solution?&lt;/P&gt;</description>
    <pubDate>Tue, 31 Mar 2015 11:43:24 GMT</pubDate>
    <dc:creator>najd_</dc:creator>
    <dc:date>2015-03-31T11:43:24Z</dc:date>
    <item>
      <title>Include file in xsl</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/include-file-in-xsl/m-p/325204#M12205</link>
      <description>&lt;P&gt;Hello i'm linking XML files with  the XSL using PHP ,&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;    //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-&amp;gt;loadXML($xsl);

  
  //Load XML from a string 
    $xmlDoc = new \DOMDocument();
    $xmlDoc-&amp;gt;loadXML($xml);

    $metadata = $simpleXml-&amp;gt;xpath($xpath);
    $proc = new \XSLTProcessor();
    $proc-&amp;gt;importStylesheet($xslDoc);
    $output = $proc-&amp;gt;transformToXML($xmlDoc);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;My files XML and XSl are existing in my plateform Nuxeo, The XSL file has this line  &lt;CODE&gt;**&amp;lt;xsl:include href="outils.xsl"/&amp;gt;**&lt;/CODE&gt;.
The problem is here "$proc-&amp;gt;importStylesheet($xslDoc);"  He cannot include outils.xsl that exists in Nuxeo , Is there any Solution?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2015 11:43:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/include-file-in-xsl/m-p/325204#M12205</guid>
      <dc:creator>najd_</dc:creator>
      <dc:date>2015-03-31T11:43:24Z</dc:date>
    </item>
  </channel>
</rss>

