exclude-result-prefixes="#default myotherns"

still prints out the default namespace...any clue why?

Laurent KEMPENEERS wrote:

>Sorry, 
>
>My answer was not complete... for the default namespace, you can use the
>value '#default' as namespace prefix.
>
>Laurent
>
>-----Message d'origine-----
>De : Martin Kavalar [mailto:[EMAIL PROTECTED]]
>Envoyé : lundi 10 septembre 2001 13:00
>À : [EMAIL PROTECTED]
>Objet : Re: Namespaces
>
>
>Thanks for your quick reply. Your solution helped me for all namespaces 
>delared like this:
>xmlns:name="mynamespace"
>but what about the xmlns="myothernamespace" ?
>I cant come up with a way of removing this one.
>thanks
>martin
>
>Laurent KEMPENEERS wrote:
>
>>One solution for this kind of namespaces manipulation in XSLT is to use the
>>"exclude-result-prefixes" attribute of the "<stylesheet>" element.
>>
>>The value of this attribute consists of one or more space-separated prefix
>>names. The namespace declarations related to those prefix names are not
>>copied to the output.
>>
>>Laurent
>>
>>-----Message d'origine-----
>>De : Martin Kavalar [mailto:[EMAIL PROTECTED]]
>>Envoyé : samedi 8 septembre 2001 14:04
>>À : Cocoon Mailing List
>>Objet : Namespaces
>>
>>
>>Is there a way to remove the namespaces during an xslt? We are doing 
>>XML->XML (XHTML) and the namespaces that appear in the root (<html>) 
>>element is the only thing that keeps our document from validating as 
>>xhtml 1.0
>>thanks for your help
>>martin
>>
>>
>>---------------------------------------------------------------------
>>Please check that your question has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail: <[EMAIL PROTECTED]>
>>
>>---------------------------------------------------------------------
>>Please check that your question has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail: <[EMAIL PROTECTED]>
>>
>>
>
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to