file-exists-remote

<xsl:include href="../plugins/tenandtwo-xslt-processor/xsl/file.xsl" />

<xsl:call-template name="file-exists-remote">
    <xsl:with-param name="url" select="$url" />
</xsl:call-template>

TEST 1 : PASS
file-exists-remote :
– url = https://tenandtwo.com/

result :
https://tenandtwo.com/


TEST 2 : PASS
file-exists-remote :
– url = https://plugins.tenandtwo.com/wp-content/uploads/upload_sample.xml

result :
https://plugins.tenandtwo.com/wp-content/uploads/upload_sample.xml


TEST 3 : PASS
file-exists-remote :
– url = https://nope.tenandtwo.com/

result :
cURL error 6: Could not resolve host: nope.tenandtwo.com


TEST 4 : PASS
file-exists-remote :
– url = goop

result :
A valid URL was not provided.