[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: Mon, 21 Aug 2000 09:39:48 -0400
srinivasan iyer
Chris,
I totally agree with your point about xsl files being mentioned as src in
the xml data island......
so taking a cue from your prior mail I tried the following and it worked
fine here the 
xml file names are encoded ........
but I am still not sure of how to encode the xml data island ???????????????


=================================

screnc.exe xmlenc.html xmlenc1.html

=================================
xmlenc.html
=================================
<html>
<h4> xml demo</h4>
<body>
<div id="demo" ></div>
<script>
var xmlData , xmlStyle
	xmlData=new ActiveXObject('Microsoft.XMLDOM');
	xmlData.async =false;
	xmlData.load("xml_Data.asp");
	xmlStyle=new ActiveXObject('Microsoft.XMLDOM');
	xmlStyle.async = false;
	xmlStyle.load("xml_Style.xsl");
	demo.innerHTML=xmlData.transformNode(xmlStyle)
</script>
</body>
</html>

************** output and encoded file **************************
xmlenc1.html
***********************************************************************

<html>
<h4> xml demo</h4>
<body>
<div id="demo" ></div>
<input id='t1'/>
<script language =
JScript.Encode>#@~^PwEAAA==@#@&\CMPX:VGlDCPBPa:^?Oz^+@#@&76sVfmOC'
+SP)mOr7+pr(%+1Ycvtkm.GkWWYcptS9}HE#i@#@&ia:^fCYmRCdHxm,x0mV/I@#@&i6sV9lOCc
VGl9cJX:smmNWm^^knxD
m/2r#p@#@&i6ss?DXs+{xnA,bmDr\(r(%nmD`EHrm.GkWWYcpHdf6\E#i@#@&i6hVUOHVnclkXx
1P{~0mVd+p@#@&7X:VUOX^+R^GCNvJX:s{C[K{^VbnxDRad^J#I@#@&d[+sGckU
+MCKtS{a:^fCYmRO.mx/6GDs1W9nc6sVUYzVnb@#@&PWUAAA==^#~@</script>
</body>
</html>
***********************************************************************



================================= 
Date: Fri, 18 Aug 2000 22:27:24 +0100
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Subject: RE: Hiding XSL

Iyer,
The point is that you can just do view source. Looking at the source you can
see that the xsl is in a file called xml_Style.xsl in the current folder as
the page you are looking at. So say you are looking at
http://microsoft.com/iyersexample/somehtml.html and you see
xmlStyle.load("xml_Style.xsl"); then all you have to do is type in the
address http://microsoft.com/iyerexample/xml_style.xsl and you will see the
stylesheet in your browser. Then File/SaveAs will get the stylesheet to a
file. This does hide the stylesheet but for all of 2 seconds. I don't think
this is very well hidden from all but the most casual browser and the casual
browser never does View/View Source anyway.

XML/XSL Portal
http://www.bayes.co.uk/xml


>-----Original Message-----
>From: owner-xsl-list@xxxxxxxxxxxxxxxx
>[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Iyer, Srinivasan
>(MLIP - PCC)
>Sent: 18 August 2000 21:26
>To: 'xsl-list@xxxxxxxxxxxxxxxx'
>Subject: RE: Hiding XSL
>
	>


 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.