Login  Register

doc-available not behaving as it should...

Posted by Eric van der Vlist on Mar 10, 2008; 11:12pm
URL: https://discuss.orbeon.com/doc-available-not-behaving-as-it-should-tp37602.html

Hi,

When I run

<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  version="2.0">
    <xsl:template match="/">
        <result>
            <xsl:value-of select="doc-available('http://example.com/foo')"/>
        </result>
    </xsl:template>
</xsl:transform>

with oXygen, I get

<result>false</result>

which is what I am expecting, but if I run the same transformation in
OrbeonForms (for instance in the XSLT sandbox), I get

<result>true</result>

Why do I get this weird result and how can I get what I am expecting?

Thanks,

Eric


--
GPG-PGP: 2A528005
Le premier annuaire des apiculteurs 100% XML!
                                                http://apiculteurs.info/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

signature.asc (196 bytes) Download Attachment