Mettre le résultat de transformation xslt dans contentplaceholder
J'ai un fichier xml que j'ai transfomer avec xslt.
Comment mettre l résultat de transformation dans un contentplace holder.
Ci après le code de transformation :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
protected void Button1_Click2(object sender, EventArgs e)
{
string MyXmlPath = Request.PhysicalApplicationPath + "\\XMLFile.xml";
string MyXsltPath = Request.PhysicalApplicationPath + "\\XSLTFILE.xslt";
XPathDocument xmlDoc = new XPathDocument(MyXmlPath);
XslCompiledTransform XSLTransform = new XslCompiledTransform();
XSLTransform.Load(MyXsltPath);
XSLTransform.Transform(MyXmlPath, null, Response.Output);
} |
comment changer "Response.Output" par le nom du contentplaceholder ?
Merci pour vos aides