xsl-list
[Top] [All Lists]

Re: [xsl] Need help with XSLT: adding new node btw existing elements

2006-08-17 14:26:07
Nishi Bhonsle wrote:

You didn't answer the only interesting question here:
what do you want to achive?  Do you want the elements
where xmlns="" appears to be in the null namespace?
Or in a specific namespace?

Can you tell me how to generate the elements in no namespace

  It is what you do.  You use a literal element in your stylesheet, and
that element is in the null namespace.  If the default namespace has
been declared in an ancestor, the serializer takes care for you to had
xmlns="" to rebind locally the default namespace to the null namespace.

ie, I donot want  xmlns=""  to appear in the element
definition in the output xml file.

  It is not the same thing.  Usually, you don't need to take care about
namespace /declarations/ when you use XSLT.  The serializer do the
right things for you.

  I recommend you to read some paper about namespaces in XML.

  Regards,

--drkm




















        
 p4.vert.ukl.yahoo.com uncompressed/chunked Thu Aug 17 21:13:40 GMT 2006 
        
                
___________________________________________________________________________ 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet 
! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos 
expériences. 
http://fr.answers.yahoo.com 


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--