[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Hiding XSL
Just some additional sample code ================================= <HTML> <HEAD> <TITLE>Test </TITLE> </HEAD> <XML id="source" src="xml_data.asp"></XML> <XML id="style" src="xml_style.xsl"></XML> <SCRIPT FOR="window" EVENT="onload"> xslTarget.innerHTML = source.transformNode(style.XMLDocument); </SCRIPT> <BODY> <DIV id="xslTarget"></DIV> </BODY> </HTML> ================================= Here xml_data.asp returns xml data & xml_style.xsl is the styling sheet. this would ensure that your xml and xsl code is hidden from public view. This works only in IE5 and up........ Srini Date: Fri, 18 Aug 2000 10:07:09 +0100 From: "ciaran byrne" <ciaran.byrne@xxxxxxx> Subject: RE: Hiding the XSL ? The only problem with this approach is that I'm using MSXML and not Java and I really don't want to integrate Java into my project!! Somebody mentioned the concept of data islands but to be honest I'm not too sure about how they work. Is any one aware of a way whereby I could load my XSL as a string using MSXML. That way I could obfusicate the XSL and have an internal algorithm for giving me the proper XSL string. Any ideas ?? Ciaran. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|