


Hello,I am trying to make a custom XMLserializer for my class.wrote a simple writeXML method for my class and it works.My class has int members.However, when I add a member of type datetime, the writeXML doesn't work anymore!This is the sort of an error i get: System.InvalidOperationException: ...
Dear All,I couldn't find any way to update XML doument using XUpdate returned.Please advice if the .NET framework contains any namespaces or classes to work with XUpdate documents...
This is a general architecture/design question regarding xslt's "place" in asp.net. I've been tossing around the idea that server controls in asp.net (especially templated controls) have become the object-orientied solution to xslt stylesheets. From my experience, nearly everything ...
In a 1.1 version of my app I run a transform with no problem. Trying to port the app to 2.0. Now, I'm using:XslCompiledTransform.Transform(XmlReader, XslArgumentList, StreamWriter) to run a transform on xml fragments to generate HTML and keep getting an XslTransformException with the following ...
Hi, I have an application which works fine on my development machine. However, when I used my build on the production machine, I get an Exception. I use code like this to transform a XML string "Text" to its transformed version: XmlDocument oXML = new XmlDocument();System.IO.StringWriter sw = ...
I am attempting to transform a rather large XML file (approx 116megs) using an Xslt that was generated from XmlSpy. Actually, there are two transforms, one that transforms the result to HTML and another to RTF. I am using the Transform method that takes an XPathNavigator because I have the XML ...
I am trying to onvert from .Net 1.1 to 2.0 and am having seme trouble with the new Xsl Transform method. The following is the original working 1.1 code.// .Net 1.1 form. This works fine private string TransformToHTML() { XslTransform xslTran = new XslTransform(); XsltArgumentList xslArg = new ...
In a project i am making i needed something similar to Xslt, but quite different too. I managed to create it, it basically works the same as Xslt but with some differences. The language is called Sslt, and the class that does transformations SsltCompiledTransform (~ XsltCompiledTransform).I now ...
I'm looking for opinions on this. XsltCompiledTransform can throw a System.Xml.Xsl. XslLoadException. The problem is that the class is an internal class. Instead I have to catch XsltException. Now I guess I was expecting to be able to catch XslLoadException since it is being thrown. It just ...
I'd like to cache the XSLTCompiledTransform object in a Dictionary as I'm having a performance problem with the time it takes to load XSLT from disk. My question is, am I ok to just add the object into the dictionary without cloning it? When I've done this before in the DNA world I've ...
Hi,I'm in the process of testing out my asp.net 1.1 application under the new 2.0 framework. For the most part, everything seems to work, however one of my applications uses XSLT Transformation objects to adjust the rendered HTML to the client. In 1.1, I was creating a new XsltArgumentList ...
Hi, do the XML classes in the .NET Framework v2.0 support v2.0 of XSLT and XPath ?How about the classes in .NET Framework v1.0 ?...
Hi,Sorry this is going to be a long post but I felt it necessary to include source code.Here's a very small portion of my xml document:<?xml version="1.0" ?> <xtvd> <stations> <station id="10436"> <callSign>KERA</callSign> ...
I am new to XML and XSLT. Here is what I am trying to figure out: I have to write a XSLT to convert from one XML format to another XML. The original XML has several elements types. I currently use <xsl:for-each select="ROOT/ElementType1" >.........</xsl: for-each> ...
I am having trouble with param that I pass. Version 1 without params: This works fine <xsl:template name="WriteAttribute_BBB"> <xsl:attribute name ="BBB"> <xsl:value-of select="Element1/@B"> <!-- get the value of attrib B from Element1 --> ...
