Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 28th, 2009, 03:21 AM
Registered User
 
Join Date: Dec 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default XSLT value of select

Hi Everyone,
I have a problem in using the xslt value-of-select element.
My requirement is like this, I have a xml file with the source node as text area with visual editor, If this node is displayed using xslt as below.

<xsl:value-of select="item[@name='Main Page']/value/item[@name='Guidelines']/value/text()" />

The output is displayed as below

<p><span style="font-size: small; font-family: Times New Roman;"><span style="font-size: small; font-family: Times New Roman;"> <p align="left">This manual is primarily intended for web server administrators and system</p> <p align="left">administrators. UNIX users of this manual should be familiar with basic UNIX</p> <p align="left">commands and be able to use an editor such as emacs or vi. Windows users should be</p>

I need only the content to be displayed , excluding the font and style attributes . Can anyone help me the syntax to be used in XSLT for this problem





Similar Threads
Thread Thread Starter Forum Replies Last Post
XSLT value of select prabhu shankar XSLT 0 December 28th, 2009 03:11 AM
Select row in GridView WITHOUT using Select button rao965 ASP.NET 2.0 Professional 1 February 15th, 2008 10:44 AM
Select a path to keep in XSLT lakumc XSLT 7 December 10th, 2007 12:30 PM
XSLT and SELECT with a specfic date range pallone XSLT 15 May 8th, 2006 12:41 PM
XSLT Select Distinct jaa XSLT 1 April 6th, 2006 11:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.