473,398 Members | 2,343 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,398 software developers and data experts.

C# XML XSLT problem

Hi everyone,

I have a web application that reads the contents of a web form and creates
an XML file from it. Next it creates an HTML file using an XSLT file.
However, I sometimes get weird characters in my final HTML. Is there a way
to fix this? Maybe an additional directive I can add here.

Following is the part where this happens
<h2>Product Request</h2>
<table>
<tr>
<td>Type:</td>
<td><xsl:value-of select="Order"/></td>
</tr>
<tr>
<td>License Type:</td>
<td><xsl:value-of select="LicenseType"/></td>
</tr>

License Type: Product Type 1 become Pro!uct Ty!e 1. It adds 1.

Thanks
Maz.
Nov 19 '05 #1
1 865
Hello Maziar,

It would help if we saw the source XML...

--
Matt Berther
http://www.mattberther.com
Hi everyone,

I have a web application that reads the contents of a web form and
creates an XML file from it. Next it creates an HTML file using an
XSLT file. However, I sometimes get weird characters in my final HTML.
Is there a way to fix this? Maybe an additional directive I can add
here.

Following is the part where this happens
<h2>Product Request</h2>
<table>
<tr>
<td>Type:</td>
<td><xsl:value-of select="Order"/></td>
</tr>
<tr>
<td>License Type:</td>
<td><xsl:value-of select="LicenseType"/></td>
</tr>
License Type: Product Type 1 become Pro!uct Ty!e 1. It adds 1.

Thanks
Maz.

Nov 19 '05 #2

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

Similar topics

2
by: Leo | last post by:
I would like to transfer my XML file into another XML which has a struct like this: <catalog> <media> <cd>myCD</cd> </media> </catalog> However using my XSLT I could only get: ...
6
by: chonkme | last post by:
Hi, i have a real simple xslt problem but i just cant figure out how to do it by looking at various examples on the net. i have a xml document and in it are some elements with a "result" tag name....
0
by: Mike | last post by:
I'm generating an XSLT document programatically in VB.Net. I'm then trying to apply that XSLT against a cXML document to generate my own internally developed XML document. I'm using RichTextBox...
6
by: Bloody Viking | last post by:
Namaste, Y'all. Given an element A containing elements B,C,D,E,F, I need to create a variable that gets the value of element C, conditionally followed by the value of element D, only if the...
11
by: ned786 | last post by:
Hello, I'm trying to solve an XSLT problem, and I'm hoping someone can give a little guidance. I am transforming XML to HTML. Here's an example of the XML file I'm dealing with, greatly...
4
by: infiniti | last post by:
Hi, I am coming across problems in trying to EFFICIENTLY merge to XML files into one which involves transposing the rows into columns so that I can either generate a single flat xml file or store...
4
by: dwergkees | last post by:
Hi, Got a litte problem here. I'm trying to create a XSLT file that will do a transformation from WordML format (MS Word XML format, see...
1
by: AndreasAndersson | last post by:
Hi! I'm trying to design an XSLT in order to transform an XML document into another XML document. The source XML looks something like this: <?xml version="1.0" encoding="UTF-8"?> <Orders>...
4
by: mark4asp | last post by:
I want to write a xslt template to create a xhtml 1.0 (transitional) file which will be sent in as email. Here is a typical xml data file: <BatchEmail> <Domain>www.myDomain.com</Domain>...
11
by: =?ISO-8859-1?Q?Jean=2DFran=E7ois_Michaud?= | last post by:
Context: I'm trying to compare XML tree fragments and I'm doing so by outputting the attributes of each element in the tree and outputting it to a string then normalizing the strings. Then I'm...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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...

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.