Subject:Problem with deep node copy and template matching using XSLT V1.0. Author:dave garcia Date:08 Jan 2008 11:58 AM
Greetings,
I have an XML document that I regenerate in a stylesheet doing a deep node copy and in the same stylesheet do a template match so I can alter a part of the document. Upon producing my output it seems I have an element that is missing all of it's children (child elements) and I am guessing it may be because of the template match and the context associated with it in my stylesheet. The following code illustrates my problem and point:
So as you can see after processing the "WindowPaneList" element correctly it is the only thing that comes back as output, all the other columns in the structure are missing. Below is the stylesheet in question:
I have tried to change the template matching several different ways to get the right context and produce the right output but cannot seem to do it, or am I approaching this wrong altogether? any help is appreciated. By the way I am only allowed to use XSLT V1.0.
Subject:Problem with deep node copy and template matching using XSLT V1.0. Author:dave garcia Date:08 Jan 2008 02:12 PM Originally Posted: 08 Jan 2008 02:10 PM