This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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@3tl.com>
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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]