Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: Ant&#xF3;nio Mota <amsmota@--------->
To:
Date: 9/13/2005 4:31:00 PM
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/


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent