Im using an XML as a lookup in an XSLT transformation file using the document() function to load the XML in a XSLT variable. Now if the lookup XML is missing the processor throws an error.
Is there a way to prevent or check whether the XML file is existing or not in the specified path in document() (e.g. document('c:\temp\lookup.xml') before assigning it into a variable for usage in the XSLT?