Subject: RE: Hiding XSL From: "Chris Bayes" <Chris@xxxxxxxxxxx> Date: Mon, 21 Aug 2000 16:21:52 +0100 |
Here is an example. I can't attach the files (mailinglist policy) and they wouldn't work after being mangled by a mail program so here they are http://www.bayes.co.uk/xml/index.xml?/xml/tutorial/obfuscation.xml 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: 21 August 2000 14:40 >To: 'xsl-list@xxxxxxxxxxxxxxxx' >Subject: RE: Hiding XSL > > >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@#@&i6hVU >OHVnclkXx >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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Hiding XSL, Iyer, Srinivasan (ML | Thread | Transforming to SVG in IE5, Arie Golos |
RE: Understanding xsl:key, Heiner de Wendt | Date | wml output using xalan c++, Steve Morrison |
Month |