Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XSLT
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 26th, 2007, 03:29 AM
Authorized User
 
Join Date: Feb 2007
Location: , , .
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default normalize-space()

when i'm using normalize-space()like this..
<xsl:value-of select="normalize-space(myNodePath)"/>

...the input value
PROCEDURE CGFK$CHK_TAR_TAR_PMU(#10; P_FIELD_LEVEL IN BOOLEAN) IS /* Is the trigger item level? */#10;/* Validate foreign key value/query lookup data. */#10;BEGIN#10; DECLARE#10; CURSOR C IS#10; SELECT PMU.PMU_BEZEICHNUNG#10; FROM PRAEMIENMODULE PMU#10; WHERE PMU.PMU_ID = :TAR.TAR_PMU_ID;#10; BEGIN#10; OPEN C;#10; FETCH C#10; INTO :TAR.DSP_PMU_BEZEICHNUNG;#10; IF C%NOTFOUND THEN#10; RAISE NO_DATA_FOUND;#10; END IF;#10; CLOSE C;#10; EXCEPTION#10; WHEN OTHERS THEN#10; CGTE$OTHER_EXCEPTIONS;#10; END;#10;END;#10;

is showing without #10;..but i need the #10; and also want to remove the space before starting of a line...before #10;...

if i use normalize-space() i can remove space but #10; is alo removing..how to get #10; ??

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using normalize-space() eg. with position() Smirre XSLT 5 November 11th, 2008 12:30 PM
Strangely working XSLT function normalize-space() seetaramayya XSLT 2 April 23rd, 2007 06:26 AM
Looks like a space but it isn't. rstelma SQL Server 2000 3 September 7th, 2005 07:17 PM
space crmpicco Javascript How-To 1 February 7th, 2005 01:26 PM
Normalize-space() not working AForgue XSLT 4 December 5th, 2003 12:39 PM



All times are GMT -4. The time now is 11:17 PM.


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