Beispiel #1
0
        /// <summary>
        /// xslt xml file 4
        /// </summary>
        /// <param name="xsltUraddress"></param>
        /// <param name="inFileName"></param>
        /// <param name="outStream"></param>
        public static void TransXml(string xsltUraddress, string inFileName, out Stream outStream)
        {
            XsltTransHelper xh = new XsltTransHelper(inFileName, xsltUraddress);

            xh.InnerTrans(OutFormat.Stream);
            outStream = xh._msOut;
        }
Beispiel #2
0
        /// <summary>
        /// xslt xml file 3
        /// </summary>
        /// <param name="xsltUraddress"></param>
        /// <param name="inFileName"></param>
        /// <param name="outFileName"></param>
        public static void TransXml(string xsltUraddress, string inFileName, out string outFileName)
        {
            XsltTransHelper xh = new XsltTransHelper(inFileName, xsltUraddress);

            xh.InnerTrans(OutFormat.File);
            outFileName = xh._outFileName;
        }