xsl-list
[Top] [All Lists]

Re[2]: How I could produce xml without xmlns:* ???

2003-01-13 08:02:40
Hello Joseph,

Monday, January 13, 2003, 4:38:15 PM, you wrote:

Ok, in this way say me please, why suppresing namespaces is bad
(i`m beginer in xml + xsl) or give me please link to articke where
it`s illustrated.

JK> To suppress namespace declarations, your stylesheet needs to (a) not copy 
JK> any namespace nodes to the output document, and (b) not generate any 
JK> namespaced elements or attributes (since serializers will generally create 
JK> the appropriate declarations automatically.)

JK> The latter may mean you can't use normal copy-element-to-output processing 
JK> at all, but instead must use xsl:element to explicitly create new elements 
JK> with the appropriate (non-prefixed!) names.

JK> Note that this is generally Very Much The Wrong Thing To Do. You may want 
JK> to think again about whether suppressing the use of namespaces in your 
JK> output document is really a good idea.

JK> ______________________________________
JK> Joe Kesselman  / IBM Research

JK>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

-- 
Best regards,
 Andrey                            mailto:solo(_at_)ibis(_dot_)odessa(_dot_)ua



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list