cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kavalar <kava...@bokowsky.de>
Subject Re: Namespaces
Date Mon, 10 Sep 2001 12:20:15 GMT
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:kavalar@bokowsky.de]
>Envoyé : lundi 10 septembre 2001 13:00
>À : cocoon-users@xml.apache.org
>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:kavalar@bokowsky.de]
>>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: <cocoon-users-unsubscribe@xml.apache.org>
>>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>>
>>---------------------------------------------------------------------
>>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: <cocoon-users-unsubscribe@xml.apache.org>
>>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>>
>>
>
>
>
>---------------------------------------------------------------------
>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: <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>---------------------------------------------------------------------
>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: <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>



---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message