Subject: RE: Hiding the XSL ? From: "Chris Bayes" <Chris@xxxxxxxxxxx> Date: Fri, 18 Aug 2000 11:51:19 +0100 |
Ciaran, A data island is xml within your html it can take 2 forms <XML id="somexml"> <xxx /> </XML> and <XML id="somexml" src="somexml.xml"></XML> The second form will kindof hide your xml/xsl but it is easy to get it if you want. There is another form which is now depracated which overloads the script tag <SCRIPT language="XML" src="somexml.xml"></SCRIPT> There is a tool from microsoft called the Script Encoder which will encode vbscript and javascript and is used in html like this. <SCRIPT language="JScript.Encode" src="somexml.js"></SCRIPT> But I doubt if that will work for XML. You could possibly do this <XML id="somexml"> <encoded> 8087098709870897087587654675454354235342543254323345478656598768758765764564 63543 </encoded> </XML> <SCRIPT language="JavaScript> var xsl = deobfuscate(somexml.documentElement); var xsldom.loadXML(xsl); </SCRIPT> But again it is easy to get at if you want. Ciao Chris XML/XSL Portal http://www.bayes.co.uk/xml >-----Original Message----- >From: owner-xsl-list@xxxxxxxxxxxxxxxx >[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of ciaran byrne >Sent: 18 August 2000 10:07 >To: xsl-list@xxxxxxxxxxxxxxxx >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. > >-----Original Message----- >From: owner-xsl-list@xxxxxxxxxxxxxxxx >[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Stephen Kirkham >Sent: Thursday, August 17, 2000 8:19 PM >To: 'xsl-list@xxxxxxxxxxxxxxxx' >Subject: RE: Hiding the XSL ? > > >You may want to look at the translet technology from SUN - >http://www.sun.com/xml/developers/xsltc/ , the basic idea is to >compile XSLT >into Java. Its still work in progress but looks very promising. > >-----Original Message----- >From: ciaran byrne [mailto:ciaran.byrne@xxxxxxx] >Sent: Thursday, August 17, 2000 9:39 AM >To: XML; XSL-List >Subject: Hiding the XSL ? > > >Hi all, > Is anybody aware of a way in which the >XSL can be hidden from public view ? >This would be necessary in the case whereby I have >a product that uses XSL's and I don't want the >XSL's to be publically available. This would be the >case when I want to hide the implementation details >from the user so that I have more of a "black box" >approach whereby the user inputs one form of XML >and out pops the other. > >I would ideally like some sort of binary > >Any ideas ?? - the only way I can think of is >if the files were encrypted, but that seems like >an awful lot of hassle. > >Cheers, >Ciaran. > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > > > 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 the XSL ?, ciaran byrne | Thread | RE: Hiding the XSL ?, Chris Bayes |
Re: matching nodes by their value, Jonas | Date | RE: Is XSL suitable for batch proce, Thorbjørn Ravn Ander |
Month |