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 August 31st, 2005, 06:48 AM
Authorized User
 
Join Date: Jul 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default doubt in xslt

Hi All,

     The problem is that when i give the input to input field
and accept that but when I click the Update button it does not
show anything on the screen instead it shows plain page.


The input are :

               < > &

The Problem is only for these above inputs and all remaining inputs
it gives output without any error.


The problem occurs only when I give input that contains special character like < > &.
Please help me in this regard.

Thanks and Regards

 
Old August 31st, 2005, 07:21 AM
Authorized User
 
Join Date: Jul 2004
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am guessing that you are using the text from an html input in your your xml document? If so how are you building your xml document?

This is a common issue if you are using string concatenation to build xml and do not escape special characters.

You may need to give some more information to get some concise help.

Regards
Bryan

 
Old August 31st, 2005, 07:28 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

It would help to know what software you are using: what exactly are these "input fields" and "update buttons" that you refer to?

However, please note that in XML, special characters such as < and & must be escaped as &lt; and &amp; respectively.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference





Similar Threads
Thread Thread Starter Forum Replies Last Post
doubt in xslt mobbeena XSLT 3 May 5th, 2008 07:58 AM
Doubt hamnapalakkal Crystal Reports 0 February 4th, 2008 12:27 AM
doubt in XSLT -- very urgent subbukns XSLT 1 May 21st, 2007 05:10 PM
doubt! kk_katepally ASP.NET 1.0 and 1.1 Basics 1 February 7th, 2006 01:58 PM
doubt naveen J2EE 1 April 6th, 2004 07:42 PM





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