[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Question regarding namespaces
Never mind. I answered my own question.
The filter chain in question actually has two Saxon compiled stylesheets in it. I discovered that when I run with only one of the two (the normalizer stylesheet) everything runs as expected, but when I insert the second Saxon-compiled stylesheet everything goes wonky. I'm guessing that this is because something in the execution of the second stylesheet is stomping on something needed by the first, which gets the two of them mixed up. Apologies to the list.
On Apr 7, 2008, at 9:12 PM, Chris von See wrote: I have a stylesheet which I use to normalize various versions of a DTD. Some old XML documents created against this DTD do not include a default namespace declaration on the root element but the newer ones do, and I think the way I have to handle this is to have two templates in my stylesheet, one of which selects root elements without a namespace and one which does:
|
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
|