XML Transform using XSLT when simple type is repeating
Hi, I am trying to transform one xml to another xml using xslt transform. when there is a complex node repeating then all nodes are properly transformed and things are fine. If the simple type is...
View Articlexsd element maxOccurs ignored by readXMLSchema
Hello,I have the following issue: when I load xsd definition into a dataset (ds.readXMLSchema) it seems to ignore maxOccurs parameter for userdefined datatypes.when parsing this...
View ArticleChange xsi type in XML file?
Hello, Is it possible to programmatically go through an XML file and change what the xsi:type is equal to, especially if there are multiple xsi:type assignments in a single XML file?
View ArticleChange xsi type in XML file?
Hello,Is it possible to programmatically go through an XML file and change what the xsi:type is equal to, especially if there are multiple xsi:type assignments in a single XML file?
View ArticleXSLT - Using C# Function and Entity Framework
Hi,I have a number of functions in an xsl file that all work ok. They are basic C# functions.Now I need to create a method that uses Entity Framework to return data from SQL Server table.However, when...
View ArticleXML to JSON with custom column names
HI experts,In below i need to convert that xml to defined json.I mean my xml source Load_Number should be converted to load-nbr with that value.So i will receive an xml document and i need to convert...
View ArticleXSLT Linq Query Error
Hi,I have a method in an xsl file, which uses Entity Framework to load data from SQL Server.The method works fine when I test it in a C# class. The only error I get is...XslLoadException was caught: )...
View ArticleXSL-FO external-graphic not showing uri is not recognized
Issue Load a image using the fo:external-graphic tag. I have a parameter with the base64 value of the image. <xsl:param name="Name">data:image/jpg;base64,/9j/4AAQSkZJRgA..</xsl:param>...
View ArticleReplacing Values in an XML
Hi,I have an Xml file that has some values (InnerText) that has been encrypted. I have the decript tool which accepts the InnerText of the element (not an attribute) and a password.Here is the...
View ArticlePrevent XML eXternal Entity (XXE) attack during deserialization
We are doing security analysis of our code using veracode and its showing XXE flaw for below code, specifically where Deserialize() is invoked. How can we prevent serializer from accessing external...
View ArticleCreate a element programatically
When I want to create an element with xsl:name prefix in C#, it creates a element without xsl prefix. How can I create an element with specific prefix? I removed header from xml file, but when I opened...
View ArticleXPath doesn't point the right element
I have an XML source that I load it in c# by XmlDocument. I need to access one element in this source that this element uses a prefix called xsl. When I've tried to get the element with XPath command,...
View ArticleTransforming xml using transformNodeToObject throwing error "Not enough...
Transforming xml using transformNodeToObject method as below using VB Script:OS:Windows Server 2012; MSXML 6.0Dim oDataset oData = createobject("MSXML2.DOMDocument.6.0")With oData.Async = FalseIf Not...
View Article(XSLT 1.0) Question about mapping substrings as attributes of an element
Hello,Let's say I have this block of xml that will be transformed into another xml using XSLT.<ComboBox><parameter><sqlexpression>SELECT DISTINCT Type FROM TABLE where typecode = {0}...
View ArticleDifferent ways of Redefining group in Xsd?
Team,Can any one let me know the different ways redefining group in xsd.I am trying to load CDISC schema, but when we are trying to open it on visual studio (tried with different version)...
View ArticleFor an valid XML getting error as "There is an error in XML document (1,...
For an valid XML getting error as "There is an error in XML document (1, )" while De-serializing for the first time and again if re-run the same XML successfully getting De-serialized.Can anyone help...
View ArticleDeserialize -> Serialize produces invalid XML file
Hi,I'm trying to read and write .gpx file produced by an Garmin handheld device. Everything is working fine except the output file is invalid according to http://www.validome.org/xml/validate/...
View ArticleXML Advanced Electronic Signatures (XAdES)
I am making vb.net 2005 application for creating and verifying digital signatures over any document. It has to be XAdES signature, not XMLDSIG.I can't find any support for XAdES signatures in VS 2005,...
View ArticleDynamic xml Serialization
I am trying to generate an xml by serializing and facing some issues. Thereis a part of xml which is dynamic. the section "person" is dynamic i.e the sub sections (name and age)under person can...
View Article