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

Re: Diferent behaviour using document() in IE / FF

Subject: Re: Diferent behaviour using document() in IE / FF
From: António Mota <amsmota@xxxxxxxxx>
Date: Tue, 13 Sep 2005 17:30:26 +0100
Re:  Diferent behaviour using document() in IE / FF
Hurra, i solved the problem in a very elegant way, pardon me being blatant...

As i was in a hurry to begin tests, i simply copyed my original xml so
the second access will point to it.

<xsl:variable name="xmldoc" select="document('doc2.xml')"/>

But that will cause maintenance troubles, cause the original xml can
be modified without notice, and i'll have to check it everitime and so
on...

So now i got the time to do a little thinking and thought maybe the
transformiix guys tought their way was a optimization, thinking if one
wants to access the doc with a given url, that doc should be only
loaded once, and if it's transformed in the mean time so be it.

So i've tryed accessing the same document but thru a diferent uri, like

<xsl:variable name="xmldoc" select="document('doc.xml?mode=replace')"/>

where ?mode=replace is just bogus data and... it works!!!

How about that !!!

On 9/2/05, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> > So you're saying the IE behaviour is the behaviour expected from a
> > conformant processor, and that this is not open to implementation,
> > right?
>
> You haven't given me enough information to be 100% certain, but as I said,
> from the information given it looks like an FF non-conformance.
>
> Michael Kay
> http://www.saxonica.com/

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.