This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Hiding XSL
- To: <xsl-list at mulberrytech dot com>
- Subject: RE: Hiding XSL
- From: "Chris Bayes" <Chris at Bayes dot co dot uk>
- Date: Fri, 18 Aug 2000 20:19:37 +0100
- Reply-To: xsl-list at mulberrytech dot com
Srini,
Sorry but no it doesn't! xml_data.asp returns the xml_data not the xsl and
in 2 seconds of looking at this i can type http://location/xml_style.xsl and
see the style source in my browser. I can also do View/Script Debugger/Break
at next Statement "reload" and type style.xml in the immediate window to
see the source ;-)
Sorry Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
>-----Original Message-----
>From: owner-xsl-list@mulberrytech.com
>[mailto:owner-xsl-list@mulberrytech.com]On Behalf Of Iyer, Srinivasan
>(MLIP - PCC)
>Sent: 18 August 2000 19:56
>To: 'xsl-list@mulberrytech.com'
>Subject: RE: Hiding XSL
>
>
>Just some additional sample code
>=================================
><HTML>
> <HEAD>
> <TITLE>Test </TITLE>
> </HEAD>
> <XML id="source" src="xml_data.asp"></XML>
> <XML id="style" src="xml_style.xsl"></XML>
> <SCRIPT FOR="window" EVENT="onload">
> xslTarget.innerHTML = source.transformNode(style.XMLDocument);
> </SCRIPT>
> <BODY>
> <DIV id="xslTarget"></DIV>
> </BODY>
></HTML>
>
>=================================
>
>Here xml_data.asp returns xml data & xml_style.xsl is the styling sheet.
>this would ensure that your xml and xsl code is hidden from public view.
>This works only in IE5 and up........
>
>Srini
>
>
>
>Date: Fri, 18 Aug 2000 10:07:09 +0100
>From: "ciaran byrne" <ciaran.byrne@3tl.com>
>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.
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list