[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: handling failed document() invocations
Hi, > Reading this thread, I understand that my problem is related, > which was > posted as "xpath expression validity?" > > How do I handle the failed document() or invalid XPath > expression error? > I am using XSL only with MSXML4, Xercers-J (1.4.4 or others > if recommended) > and XMLSpy v5 If I remember your original question correctly, just write your stylesheet so that there's a sanity check before the expression that evaluates document(), so that you never attempt to evaluate the document() function with a non-URI argument. Cheers, Jarno XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|