Re: add new elements using xsl
Felix Geller wrote:
Can you tell me how to adjust the template? My original FileA doesnot contain anything else than whats mentioned earlier hence no any computation is possible from FileA to FileB.The @name selects an attribute in the location step with respect to the context node. But there are no attribute in your version of file A. More specifically You might need file A to look more like the following
But then again that would simply mean that file B would be the content of the template element (As there is no content in file A from which the content of the default elements in file B could be computed as far as I can tell). If you'd elaborate a little more on the context of the problem we might be able to help you on the XSLT side.
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