File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
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: 19891

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!