wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes Reading XML document as it is in XSL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Reading XML document as it is in XSL" Watch "Reading XML document as it is in XSL" New topic
Author

Reading XML document as it is in XSL

N Naresh
Ranch Hand

Joined: Nov 04, 2008
Posts: 66
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reading XML document as it is in XSL
 
Similar Threads
how to convert string into string array
xsl processing
how do i compare row by row
use XSLT to copy attribute/element and generate element
How o Display dateformat