Trap run time errors in XSLT

Discussion in 'XML' started by Rolf Kemper, Oct 20, 2004.

  1. Rolf Kemper

    Rolf Kemper Guest

    Dear All,

    I'm facing the problem below and need some advice/help on it.

    I'm loading various XML files via the document function into my XSLT.
    As long all files exist, it's fine. But when a file is not present the
    processor threws an error and the output is not generated.
    I tried this with MSXML4 and ALTOVAs native processor.

    What I want is just a controlled output for the missing section like
    'file not available'. But for the rest of the document I would like to
    proceed.

    As this is a general problem of trapping run time errors in XSLT I
    guess that most of you have already solved this. Please let me know
    how you deal with that.

    Thanks
    Rolf
    Rolf Kemper, Oct 20, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sean Nolan

    Trap "connection pool" errors

    Sean Nolan, Jul 11, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    395
    David Browne
    Jul 11, 2003
  2. Andrew Banks

    Trap all errors

    Andrew Banks, Apr 22, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    422
    Rick Spiewak
    Apr 23, 2004
  3. SalP
    Replies:
    3
    Views:
    398
    bruce barker \(sqlwork.com\)
    May 17, 2006
  4. Peter A. Schott

    Best way to trap errors in ftplib?

    Peter A. Schott, Jan 11, 2005, in forum: Python
    Replies:
    1
    Views:
    327
    Mark McEahern
    Jan 12, 2005
  5. Pierre Yves
    Replies:
    2
    Views:
    481
    Pierre Yves
    Jan 10, 2008
Loading...

Share This Page