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

Re: xsl 1.1 security model?

Subject: Re: xsl 1.1 security model?
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Mon, 26 Mar 2001 15:41:46 +0100
xml.save javascript

Chris Bayes wrote:
> >  I think the best approach to this would be to change HTML to support
> >  frame-sets which include HTML code rather than just references to
> >  other HTML documents.  Of course, this is simply to keep the entire
> >  page generated in a single XSLT tansform.
> >
> >  An approach which works today is to have a frame set, and then each of
> >  the HTML "pages" referenced in that frame set would be XSLT transforms
> >  for each of the frames.  No need for xsl:document at all.
> I don't follow that but trying to get my head round it made me think of
> <xsl:target name="_top"... as opposed to or as well as <xsl:document
> href="_top"... or maybe <xsl:document href="browser://_top"...
> Sure would save a lot of typing.
> I don't see the problem anyway. Has anyone played with xml.save() or
> xmlhttp.open()/send() recently?
There are a couple of alternatives, if slightly hypothetical:

[a]	the XSLT approach - 

<frame name="top">
	<xsl:attribute name="src">
		<xsl:call-template name="top-content"/>

(this relies on the browser supporting the data: scheme, which as far as
I know, only Netscape does. It would probably also require the value of
the src attribute to be URL-encoded.)

[b]	the XPointer approach -

<FRAME SRC="myTransform#xpointer(/content/top)" NAME="top">
<FRAME SRC="myTransform#xpointer(/content/middle)" NAME="middle">

I'm wildly assuming that the browser might be able to do some cacheing
of the entire myTransform document, wothout having read it up or
considered other implications (like the fact you don't normally want to
cache generated documents).


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


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.
First Name
Last Name
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.