Bonjour,
Je dois porter le code suivant de C# vers PHP (j'utilise l'extension php_xsl.dll)
Merci,Code:
1
2
3
4
5
6
7 System.Xml.XPath.XPathDocument doc = new System.Xml.XPath.XPathDocument(@"c:\xslt\docx\document.xml.rels"); System.Xml.XPath.XPathNavigator root = doc.CreateNavigator(); XsltArgumentList tal = new XsltArgumentList(); tal.AddParam("handlerURL", "", "http://monurl"); tal.AddParam("documentID", "", "monDocId"); tal.AddParam("Relationships", "", root); MyXmlTransform.TransformArgumentList = tal;
Samoh