my dog learned polymorphism
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

xsl rules

nirjari patel
Ranch Hand

Joined: Apr 23, 2009
Posts: 386

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

Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

It applies the template rules for each child of the context node.
I agree. Here's the link:
subject: xsl rules
It's not a secret anymore!