|
Subject: RE: Hiding XSL From: "Iyer, Srinivasan (MLIP - PCC)" <ISrinivasan@xxxxxxxxxxxxx> Date: Mon, 21 Aug 2000 09:39:48 -0400 |
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: Hiding XSL, Chris Bayes | Thread | RE: Hiding XSL, Chris Bayes |
| Re: comapring numbers with greater , Robert Koberg | Date | Sites using MSXML3 in production ?, Bill Shaw - EBCX |
| Month |