aspose file tools*
The moose likes XML and Related Technologies and the fly likes xsl rules Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xsl rules" Watch "xsl rules" New topic
Author

xsl rules

nirjari patel
Ranch Hand

Joined: Apr 23, 2009
Posts: 374

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
Bartender

Joined: Oct 14, 2005
Posts: 18909
    
    8

It applies the template rules for each child of the context node.
 
wood burning stoves
 
subject: xsl rules