- From: Vasil Rangelov <boen.robot@gmail.com>
- Date: Sun, 12 Aug 2007 00:07:56 +0300
- To: <public-xml-processing-model-comments@w3.org>
Received on Saturday, 11 August 2007 21:08:12 UTC
> <p:string-replace match="links" replace="string()"/> > <p:make-absolute-uris match="links" /> I don't think that covers it. It seems to me you're only making "links" an element that contains an empty text node and then make that absolute. Speaking of which, what should happen at empty contents? The base URI I guess? <p:string-replace /> was probably going to cover it, practically eliminating <p:make-absolute-uris /> altogether if XPath 2.0 was supported, as XPath 2.0 has the base-uri() function, which in combination with something like concat(base-uri(),.) would probably do the trick. Of course, there's going to be something extra to that (some "if"s) to cover all possible URIs, but you get the general idea. Regards, Vasil Rangelov
Received on Saturday, 11 August 2007 21:08:12 UTC