[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Need help with XSLT: adding new node btw existing

Subject: Re: Need help with XSLT: adding new node btw existing elements
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Thu, 17 Aug 2006 23:25:52 +0200 (CEST)
Re:  Need help with XSLT: adding new node btw existing
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 
	
		
___________________________________________________________________________ 
Dicouvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! 
Yahoo! Questions/Riponses pour partager vos connaissances, vos opinions et vos expiriences. 
http://fr.answers.yahoo.com 

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.