[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: omit namespaces
> I have <h1 xmlns=""> tags in the resultant html documents. I > want <h1> only. Not all html tags has the xmlns="" part. > > How are they produced? How can I change it? They are probably produced because they have a parent element that assigns the default namespace to something else - look for an xmlns="some.uri" - and the XSLT processor needs to cancel this namespace declaration in order to put the h1 elements in the null namespace, which is where you want them. Look at the code that generates the parent element: do you want this in a namespace or not? Michael Kay http://www.saxonica.com/
|
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
|