File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XSLT help

 
SANJAY KUMAR
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Paul Clapham
Sheriff
Pie
Posts: 20203
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic