XSD has the target namespace, do we also need to modify the existing app.config
We want to have a separate .xsd(schema files) for my two libraries, but with this approach, there will be conflict issue due to the same enum definition exists in BOTH .xsd files. To resolve this...
View ArticleDenormalised File from XML & XSL Files
Hi AllIn VS2008 I would like to create a de-normalized file for importing into a SQL table. I have a XML file downloaded from client site and I have created the XSL file from the XML.I am using a XML...
View ArticleConverting .zip file into binary equivalent & embedding the same in Xml using C#
I am working on a project wherein i need to send a .zip file containing multiple folders and files over from server to client side using C#. But the constraint is that i need to send it using XML...
View ArticleProcessing elements dynamically in XSLT
Hi,I have a scenario where I have two node sets from which I will have to process the data, in the below code in the source XML I have two node sets - CONTENT1 and CONTENT2; I need to read this and...
View ArticleIs there a faster way to get a typed value from XPath?
Hi all;We create an XPathNavigator that is given an XML and XSD file. When we want a typed value from an XPath query, our code is:// XPathNavigator nav; created at the start. // string xpath is the...
View ArticleHow to calculate SignatureValue hash for timestamp (XAdES-T)?
I'm trying to add timestamp into XAdES digital signature in order to rise it to XAdES-T level. The problem is: how to calculate hash value of SIgnatureValue element to send it to TSA (timestamp...
View ArticleNeed a way to read value from XMLNode
Hi,I have the following data in my XMLNode<TablixCell><CellContents><Textbox...
View ArticleXSLT grouping and sum
My XML is<accounting> <entry> <group>1</group> <vat>0</vat> <sum>80</sum> </entry> <entry><group>1</group>...
View ArticleHow to remove a row from HTML table in XSLT template
I have a question regarding the XSLT template which transform my XML to HTML. Here is the rough XML<TopTerm ID="1" Entity="Term" Name="ENVIRONMENTAL MANAGEMENT"><ChildTerm ID="8"...
View ArticleReading the 'id' attribute of 'choice' and 'sequence' compositors
Dear Friends,I cannot get, programmatically, the value of the attribute 'id' of the choice compositor when reading a schema. Here's the 'xsd' file I am manipulating with C# within Visual Studio...
View ArticleNeed XSLT example
I have one xml need to create xslt with custom tags need to get some example or any help on xslt would be helpful. this is the input xml what I am getting need to divide into two sections using...
View ArticleDynamically assign value to a variable
I have a scenario where I am trying to assign value to a variable dynamically, could you please tell me how I can achieve this.In the below XML sample, I loop through Content2 and read the values of...
View ArticleMerging Web Config Files
Hello,I'm currently on a project and we have 1 file for every environment. I am looking to create a config for each environment and have one main Web config. Is there anyway at build time to merge the...
View ArticleWhat;s wrong with my XSLT?
Hi, I have an XML document from which I have to exclude records with all their child elements...
View ArticleAsynchronous XmlReader
Hey all,I want to develop a server that communicated with many clients. I want to use xml for the protocol (i.e. it will be a constant stream of elements asking the server to do various things, like in...
View ArticleIs XmlTextWriter the fastest way to write out an XML file?
Hi all;At present I am using XmlTextWriter with WrieStartElement(), WriteAttributeString(), & WriteEndElement(). Is this the fastest way to create an XML file?This is for a programming writing the...
View ArticleEvent Log Custom XML Query Filtering Help
I've looked at a few different posts but I must be missing something because what I'm constructing isn't working.Here's the XML code of an example event:- <Event...
View ArticleGame Idea
Hi, i have a new good idea in gaming system and want to know who should i contact with in Microsoft to explain my Idea ?
View ArticleError "Unable to generate a temporary class (result=1). error CS0030: Cannot...
I have an XML file, I use XSD.exe to create a class Account. When I tried to send a message of type class Account to MSMQ, I am getting this error:"Unable to generate a temporary class (result=1)....
View Article