Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reading XML document as it is in XSL

 
N Naresh
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i have the xml like below

<?xml version="1.0" encoding="UTF-8" ?>
- <content>
- <channel ID="upc_0">
- <section ID="2541178075623443">
- <subsection ID="2692141400124843" bulleted="false" display_title="false" image_active="false" link_active="true" link_name="gmail" link_target="_blank" link_url="http://gmail.com" portal_one_link_url="http://gmail.com" section_type="teaser_data" title="New Sub-Section" uportal_one_link_url="http://gmail.com" wrap_links="false">
<pre>rr aa mm ee ss hh</pre>
</subsection>
</section>
</channel>
</content>

i want to read <pre> tag of subsection tag as it is in xsl how i can achieve this like below

<xsl:stylesheet>
-----
----------
<pre>rr aa mm ee ss hh </pre>
-------
</xsl:stylesheet>

I need help on this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic