473,411 Members | 1,997 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

Encoding Data in Xslt

I am working on web application that Gets data from Database,generate
XMl of it, apply Xslt and Generate Html.

If Database has some Xss Vnurability data, How can I encode it into
Xslt, so It displays as Text. I donot have option to encode it while
making XMl Or as soon as Getting from Database.
I have only option to encode it in xslt only.

Thanks in ADvance

Feb 13 '07 #1
1 1026
I think you'd need to ask this at microsoft.public.dotnet.xml newsgroup.
What comes generally to XSLT, I can give a link to a great reference site:

XSLT Questions and Answers
http://www.dpawson.co.uk/xsl/sect2/sect21.html

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"ABCL" <oh****@hotmail.comwrote in message
news:11*********************@p10g2000cwp.googlegro ups.com...
>I am working on web application that Gets data from Database,generate
XMl of it, apply Xslt and Generate Html.

If Database has some Xss Vnurability data, How can I encode it into
Xslt, so It displays as Text. I donot have option to encode it while
making XMl Or as soon as Getting from Database.
I have only option to encode it in xslt only.

Thanks in ADvance
Feb 14 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Kiran | last post by:
Hi All, I have a xml file with UTF-8 encoding it has some chineese data values also. I wanted to change it to other encodings like UTF-16 ,GBK etc. I used iconv utility in Unix for this ..but was...
0
by: resolutionsnet | last post by:
Hi, I raised as message earlier in this forum with regards to an error when preforming a XSLT transform (see bottom of this message). On further investigation I'm find that some of the XSLT...
5
by: Jiho Han | last post by:
I do a transform of an xml document into another xml using XslTransform. In my xsl file, I specify using <xsl:output encoding="utf-8"/>. However, when my transform is done, the resulting xml is in...
2
by: Lionel Fourquaux | last post by:
In .Net 1.1, System.Xml.Xsl.XslTransform cannot output directly a document in an encoding that cannot represent all the characters used (e.g. write in us-ascii for compatibility, and convert all...
8
by: Demon News | last post by:
I'm trying to do a transform (Using XmlTransform class in c#) and in the Transform I'm specifying the the output xsl below: <xsl:output method="xml" encoding="UTF-8" indent="no"/> the...
1
by: Matt | last post by:
I have a situation where I am receiving an XML document from a Korean client. They have encoding="EUC-KR" in the XML declaration. This XML file will be placed into a SQL 2005 table with an XML...
5
by: Jeroen | last post by:
We're using MSXML to transform the XML document we have to an XHTML file using an XSLT. Now the problem is that the dotnet implementation we made does something subtly different from the...
23
by: Allan Ebdrup | last post by:
I hava an ajax web application where i hvae problems with UTF-8 encoding oc chineese chars. My Ajax webapplication runs in a HTML page that is UTF-8 Encoded. I copy and paste some chineese chars...
0
by: =?Utf-8?B?TWFoZXNoIE5pbWJhbGthcg==?= | last post by:
I am transforming XML into XML with some changes in structure of original XML file. IN XSLT file, I am explicitily setting encoding of transformed XML as ISO-8859-1 as given below. But when I...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.