xsl转换后结果xml文件中的命名空间位置有问题。我的转换样式表看起来像LightSpeedXMLSchema.xsd...在输出xml文件中,我想获取根节点作为但是我有我还尝试将xsl样式表中的根节点预编码为...但我得到了同样错误的结果。使用system.xml.xsl.xslcompiledtransform.NET类中的Transform方法将转换应用于xml文件。为此,我使用PowerShell:FunctionConvert-WithXslt($originalXmlFilePath,$xslFilePath,$outputFilePath){##Simplisticerr