[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Hiding the XSL ?

Subject: RE: Hiding the XSL ?
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Date: Fri, 18 Aug 2000 11:51:19 +0100
obfusicate xml
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

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.