This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Product and Other Certifications and the fly likes XSL help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "XSL help" Watch "XSL help" New topic

XSL help


Joined: Mar 27, 2002
Posts: 25
Hi Friends,
I have XML like

<table class="aa">
<table class="bb">
<table class="aa">
<table class="bb">


I need to display test and some. How to write XSL to get only those elements. I can see class="aa" is making differance.

Please help me. I will really appreciate


Paul Clapham

Joined: Oct 14, 2005
Posts: 18541

An example in XPath should be sufficient. You can use XSLT to implement that XPath if you like, or any other XML implementation that supports XPath.Translation: Find a table element at any depth in the tree whose class attribute has the value "aa", then find its tr children, then find their td children.
Don't get me started about those stupid light bulbs.
subject: XSL help
Similar Threads
Newbie Question---Help?
Building tables in XSL
[Struts2] losing display only(prepopulated) values of the form if the validaiton fails
HTML Table "Stripes" with CSS
Assistance with Datatable and Checkbox