aspose file tools*
The moose likes Product and Other Certifications and the fly likes XSLT help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "XSLT help" Watch "XSLT help" New topic
Author

XSLT help

SANJAY KUMAR
Greenhorn

Joined: Mar 27, 2002
Posts: 25
Hi Friends,
I ahve XML which has node like

<A>
<B> TEST</B>
I am great
</A>

If I am reading

<xsl:value-of select="A"/>

I am getting output like

TEST
I am great


Can some one guide me how to get only

I am great.

Thanks


SCJP, SCWCD , SCBCD
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18655
    
    8

In this particular example, something like this might work:It gets the third node that's the child of that A element. But this might not be a good example of the general question you wanted to ask?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XSLT help