Just use the standard php
if(file_exists("./test.xml")
{
document("test.xml");
}
Rgds
Bryan
PS:
Plain text is nicer than html
----- Original Message -----
From: Hannes Scherb
To: Sablotron Mailing List
Sent: Wednesday, June 13, 2001 5:34 PM
Subject: [Sab] check if xml-file exist
hi,
is there any way to check if an xml-documet exist. because i want to use the
function "document(test.xml)" and if the file test.xml does not exist the
system crash?
can someone tell me if there is a way to check this before!
hannes