[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Copy idiom and overriding namespaces: trying to be
Hi Michael,
Well, what I am trying to do is replacing the namespace from the input document with some other namespace. Doing it for just one element (like the root element) would still cause all other children to keep the namespace of the input document. That's why I try to use the copy idiom and override it for certain values. Perhaps every node has a local name, but this is set to empty "" for text nodes (not sure if that's really correct, but it is what happens with Saxon 8 ). My first solution was without this local-name() thing, but I got runtime xslt errors for trying to create elements with empty names, hence this solution. Abel Braaksma, www.nuntia.nl Michael Kay wrote: I'm not at all sure what you're trying to do here, but
|
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
|