Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

xsl rules  RSS feed

 
nirjari patel
Ranch Hand
Posts: 386
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Following rules are applied to this xml document


what does the "apply-templates" do ? How is it different from <xsl:value-of select=""> ? If I place <xsl:value-of select=""> instead of <xsl:apply-templates/> , I will get the same result. What templates are applied when I use <xsl:apply-templates > ? If I dont use, <xsl:apply-templates > in the above example , the will it just <B> be applied after <bold> ?

I have done good enough reading and then I posted the question here. So please dont point to any article

thanks
 
Paul Clapham
Sheriff
Posts: 22185
38
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It applies the template rules for each child of the context node.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!