XML fille to List<>
Sat, 14 Jun 2008 12:06:06 -0700 (PDT)
Hello,
I have a xml file like the following.
<?xml version="1.0">
<data>
<idef units="Vin,Vout,E">
<i id="i1">
<sample num="1">
<sampledata value="2;3;7" />
</sample>
<sample num="2">
<sampledata value="8;1;7" />
</sample>
</i>
<i id="i33"> The Id is totally random -->
<sample num="1">
<sampled ...
|
XsltCompiledTransform question
Fri, 13 Jun 2008 08:37:01 -0700
Here are three things that I thought would be equivalent but are not. Just
wondering why:
XmlElement foo = doc.CreateElement("foo");
// load it up with a body
xslt.Transform (foo, null, new XmlTextWriter(new StringWriter()));
xslt.Transform (foo.CreateNavigator(), null, new XmlTextWriter(new
StringWriter( ...
|
XML Digital Signature
Tue, 10 Jun 2008 17:37:35 -0300
Hi
I'm trying to Sign an XML Document Using SignedXml.ComputeSignature from the
namespace System.Security.Cryptography.Xml.
I need the XML in the following way, with the prefix DS ahead the tag name:
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
- <ds:SignedInfo>
<ds:CanonicalizationMeth ...
|
re-using XmlDocument to load fragments
Thu, 5 Jun 2008 09:10:00 -0700
Hi...
We've got a lot of places in our code where we read relatively small xml
user preference blocks. Currently that's creating a new XmlDocument in every
spot. I was thinking we might see some speed improvements by having one,
central XmlDocument and using doc.ReadNode() to process all of the fragments. ...
|
XmlDocument vs XPathDocument performance
Thu, 5 Jun 2008 08:56:03 -0700
Hi...
I've been trying to improve the performance of our xml handling, so I've
been doing some timing tests lately and ran across something I thought odd -
XPathDocument seems slightly slower than XmlDocument. I've run the tests
several times and have tried to eliminate extraneous variables like disk
acc ...
|
IPersistStreamInit pPSI ->Load(pStm); returns a 0xc00ce584 hr
Wed, 4 Jun 2008 14:18:06 -0700
I have an xml file that was written as image data into a database column.
When I call load() an error hr result is returned that I cannot locate
anywhere.
0xc00ce584
I am using XML 60.
Any ideas what this error condition is?
thanks,
Larry R. Sitka
...
|
XmlDSig and XAdES schema validation
Wed, 4 Jun 2008 03:30:22 -0700 (PDT)
Hi all,
how to validate xades xml against xades and xmlsig schemas? i have
this sample:
XmlTextReader xmlReader = new XmlTextReader(@"..\..\Data\xades_zep-
epes.xml");
XmlReaderSettings settings = new XmlReaderSettings();
settings.ProhibitDtd = false;
settings.ValidationType = ValidationType.Schema;
sett ...
|
|
|
Grouping in XSLT
Tue, 3 Jun 2008 14:17:50 +0530
Hi,
How to do group by in XSLT ?
I tried on the following codes:
<files>
<file name="swablr.eps" size="4313" project="mars"/>
<file name="batboy.wks" size="424" project="neptune"/>
<file name="potrzebie.dbf" size="1102" project="jupiter"/>
<file name="kwatz.xom" size="43" projec ...
|
Problem receiving data back from a web service
Mon, 2 Jun 2008 09:14:02 -0700
I am having a problem where no data is being returned from an Axis web
service. I can invoke the service just fine and it does not give any errors,
but the data objects do not hold any data. If I perform a TCP Trace I can
see the data in the trace window but the value of the object is set to
"Nothing". I ...
|
remove namespace from descendants
Mon, 2 Jun 2008 11:06:39 +0200
How can I remove an empty namespace with XElement ?
Using the below code I wish to apply the namespace only to the root node
<urlset> but I obtain also an empty xmlns="" on the child nodes.
Thanks
Sandro
XNamespace ns = "http://www.sitemaps.org/schemas/sitemap/0.9";
XElement elRoot = new XElement(ns + "ur ...
|