471,056 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

XSLT problem in .NET

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 controls to dump out the
XSLT, cXML and internal XML.

The following code works fine in Visual Studio 2002.
However, after upgrading to VS 2003, this same code no
longer works

I'm declaring a variable "xslt" as a new XSLTransform.
Dim xslt As XslTransform = New XslTransform

I'm then calling the "Load" method of the "xslt" to load
the XSLT from my RichTextBox control:

That generates the following exception:
"Invalid URI: The URI scheme is not valid."

Here is an example of a XSLT document that I'm creating
<xsl:output encoding="UTF-8" method="xml" indent="yes"/>
<xsl:template match="/">
<xsl:element name="SSXML">
<xsl:element name="Order">
<xsl:value-of select="//OrderRequestHeader/Comments"/>

Has anyone else encountered this? If so, what did you do
to fix it? Again, I did not have this problem in VS 2002.
Jul 21 '05 #1
0 1334

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by ted | last post: by
2 posts views Thread by Tom Corcoran | last post: by
reply views Thread by Christopher M. Lauer | last post: by
3 posts views Thread by Teksure | last post: by
7 posts views Thread by Harolds | last post: by
3 posts views Thread by Ian Roddis | last post: by
1 post views Thread by Sergey Dubinets | last post: by
12 posts views Thread by Chris | last post: by
reply views Thread by leo001 | last post: by

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.