Subject: Re: [xsl] I need to make sure that all namespace declarations get output to a particular element, not the document element From: "bryan rasmussen" <rasmussen.bryan@xxxxxxxxx> Date: Thu, 22 Mar 2007 15:07:15 +0100 |
yep, read the following from open office xforms:I am a bit puzzled that you need such control over your namespaces in the output. The processor is not allowed to make your output namespace-uncompliant, so, whatever you are trying, even in your current situation, the namespace declaration will be there *before* it is actually used, which is the way it should be in XML+NS. Do you mean that the target system that uses your document is not XML+NS compliant and has some specific way of dealing with it?
" First of all, the forms processor does not see the full document as a DOM tree. Only the actual instances are treated as a DOM. Consequently, any namespaces that are declared further up in the full document tree are not available to the processor.
Furthermore the XML editing UI in OOo misses some aspects of namespace handling. You can only specify namespace declarations on individual bindings. In my opinion that is very inconvenient. I think it should be possible to at least specify them in a way where they can be used in all bindings. So they would for instance be declared on the xforms:model element. Nevertheless, the fact that only the instance is treated as generic XML makes the whole namespace handling very cumbersome.
" Thus I need to make sure my namespace declarations come out on the XML subtree that the OO xforms processor is taking as the document element, basically.
Cheers, Bryan Rasmussen
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] I need to make sure that , David Carlisle | Thread | Re: [xsl] I need to make sure that , Abel Braaksma |
Re: [xsl] I need to make sure that , bryan rasmussen | Date | Re: [xsl] I need to make sure that , Abel Braaksma |
Month |