Subject: Re: [xsl] How I could produce xml without xmlns:* ??? From: Joseph Kesselman <keshlam@xxxxxxxxxx> Date: Mon, 13 Jan 2003 09:38:15 -0500 |
To suppress namespace declarations, your stylesheet needs to (a) not copy any namespace nodes to the output document, and (b) not generate any namespaced elements or attributes (since serializers will generally create the appropriate declarations automatically.) The latter may mean you can't use normal copy-element-to-output processing at all, but instead must use xsl:element to explicitly create new elements with the appropriate (non-prefixed!) names. Note that this is generally Very Much The Wrong Thing To Do. You may want to think again about whether suppressing the use of namespaces in your output document is really a good idea. ______________________________________ Joe Kesselman / IBM Research 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, Michael Kay | Thread | Re[2]: [xsl] How I could produce xm, Andrey Solonchuk |
Re: [xsl] [XPath] matching elements, Tobias Reif | Date | [xsl] Achieving a nesting rule...?, Clifford, Karen |
Month |