Subject: RE: [xsl] document() function and error-handling From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Mon, 07 Jan 2008 16:08:06 -0500 |
Thanks for your reply. Well explained, and good practical points on top of it. The result document in this case would only be used internally by our system, so <?oati-xml-result?> would work just fine in this case.
My reasoning behind <?xml-result?> is this: I'm writing the behind-the-scenes valid-URL testing to be as generic as possible in the proxy script, perhaps even resorting to a try-catch XSLT run with a stylesheet that simply attempts to access the URL via document() to see if it fails or not. I might port it to other systems if it proves generic enough, and <?oati-xml-result?> would include the name of a company that has nothing to do with the process. (Replace "oati" with "microsoft" here and it might become more poignant. ~_^)
Granted, <?xml-result?> isn't a W3C-endorsed PI at all, but it does contain information regarding the XML-validity of an attempted reference to an external document, and nothing more specific than that. Wouldn't "xml-" be the most appropriate prefix here?
(For the record, I'm really bad at naming things when it comes to computer stuff. :/ )
Cheers, Wendell
P.S. Where exactly would you draw the line when it comes to XSLT issues vs. XML issues? XSLT is, after all, XML. :)
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] document() function and e, Michael Kay | Thread | RE: [xsl] document() function and e, XSL-List Owner |
Re: [xsl] Trying to identify the 3 , Wendell Piez | Date | Re: [xsl] saxon:try(), Florent Georges |
Month |