[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: empty namespace declaration being generated
> Has anyone seen anything like this before? yes that's why it's in the faq. You haven't shown the part of your output that is causing the xmlns="". You have generated an element in no-namespace with local name security. You have (presumably) generated a parent element in some other namespace so xslt has to add the xmlns="". <security name="ibm" /> is security in no-namespace but <foo xmlns="zzz"> <security name="ibm" /> </foo> would be security in namespace zzz so in order to output secutity in no-namespace the system has to output <foo xmlns="zzz"> <security xmlns="" name="ibm" /> </foo> to preserve the (no-)namespace of security. De[ending on hat you want, you should either generate the parent element in no-namespace to make <foo> <security name="ibm" /> </foo> or generate security in a namespace, to make <foo xmlns="zzz"> <security name="ibm" /> </foo> David
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|