View Single Post
  #1 (permalink)  
Old July 29th, 2008, 08:59 AM
rakesh rakesh is offline
Authorized User
Join Date: Jul 2008
Location: , , .
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dynamically cha nging root node!!!!!!!

I have an xml file for which i have prepared an xslt. I will using .net application to dynamically assign xslt to the xml file.

Now i have a requirement. The root node of xml file can sometimes be <Resp_AppDetail> or <Resp_Submit>. Now depending
on this i have to change the match of <xsl:template match="">. Is it possible to switch "match" template
using if else or so, depending on the output xml root node. If possible where should i do this? in .Net application or XSLT?
Any clue on how should i achieve this?


Reply With Quote