[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Hiding XSL

Subject: RE: Hiding XSL
From: "Iyer, Srinivasan (MLIP - PCC)" <ISrinivasan@xxxxxxxxxxxxx>
Date: Fri, 18 Aug 2000 14:56:03 -0400
hiding xsl code
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.