You make so called dynamic XSL :).

You build your xsl fali/string in php and thats it... simple.

Hannes Scherb wrote:

> how can i use php in an xsl-file? because the check should be in a
> xsl-template.
> 
> ----- Original Message -----
> From: Bryan Hunt <[EMAIL PROTECTED]>
> To: Sablotron Mailing List <[EMAIL PROTECTED]>
> Sent: Wednesday, June 13, 2001 7:06 PM
> Subject: Re: [Sab] check if xml-file exist
> 
> 
> 
>>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
>>
>>
>>


-- 
-------------------
Martin Pedak
O� Webmedia
Tel: +372 7 441583
GSM: +372 50 68531

Reply via email to