Groups | Blog | Home
all groups > dotnet xml > april 2005 >

dotnet xml : Problem with XML/XSLT and C#


Maziar Aflatoun
4/6/2005 3:57:20 PM
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.

Oleg Tkachenko [MVP]
4/7/2005 11:14:36 AM
[quoted text, click to view]

Show us some repro, include your source XML and C# code that does the
transformation.


--
Oleg Tkachenko [XML MVP, MCP]
AddThis Social Bookmark Button