Subject: Re[2]: [xsl] How I could produce xml without xmlns:* ??? From: Andrey Solonchuk <solo@xxxxxxxxxxxxxx> Date: Mon, 13 Jan 2003 17:02:40 +0200 |
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@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How I could produce xml w, Joseph Kesselman | Thread | RE: [xsl] How I could produce xml w, David . Pawson |
RE: [xsl] How I could produce xml w, David . Pawson | Date | [xsl] Getting information from two , Jeroen.Hellingman |
Month |