xml xslt transform 썸네일형 리스트형 Xml Xslt Transform with C# C# /// /// Xml, Xslt를 Transform 한 Data를 Return 한다. /// /// Xml 문서 /// Xslt 절대경로 /// Transoform string Data #region // string XmlTranseform(XmlDocument doc, string xsltPath) // public string XmlTranseform(XmlDocument doc, string xsltPath) { XslCompiledTransform xtData = new XslCompiledTransform(); xtData.Load(xsltPath); StringWriter swData = new StringWriter(); xtData.Transform(doc, null, swData).. 더보기 Xml Xslt Transform with Javascript 자바스크립트 var kMap = new ActiveXObject("MSXML2.FreeThreadedDOMDocument"); kMap.async = false; kMap.validateOnParse = false; kMap.resolveExternals = false; var ret = kMap.loadXML(document.getElementById("").value); if(!ret){ alert(xsl.parseError.reason); return false; } var xsl= null; xsl= new ActiveXObject("MSXML2.FreeThreadedDOMDocument"); xsl.async = false; xsl.validateOnParse = false; xsl.resolv.. 더보기 이전 1 다음