Jeni proposes[1]: This doesn't help when I don't know what the base URI of the document is in the first place. I think we should have a step that annotates a document with suitable xml:base attributes: <p:declare-step type="p:add-xml-base-attributes"> <p:input port="source" /> <p:output port="result" /> <p:option name="all-elements" value="no" /> </p:declare-step> The result of this step is a document that's identical to the source document, except that it adds xml:base attributes to elements. If 'all-elements' is 'no' (the default), it only adds xml:base to the document element and to every element whose base URI is different from that of its parent. If 'all-elements' is 'yes', it adds xml:base to all the elements in the document. Be seeing you, norm [1] http://lists.w3.org/Archives/Public/public-xml-processing-model-wg/2007Jun/0118.html -- Norman Walsh <ndw@nwalsh.com> | Nature is amoral, not immoral. [It] http://nwalsh.com/ | existed for eons before we arrived, | didn't know we were coming, and doesn't | give a damn about us.--Stephen J. GouldReceived on Tuesday, 17 July 2007 13:29:54 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:53 GMT