Breaking larger xml document into smaller ones
Fri, 27 Jun 2008 22:29:57 +0530
Hi All,
I have a problem which I think is sure easy enough that it would have been
solved already. I am looking for some pointers here -
I have an XML document like this:
<root>
<child>
<element1>value1</element1>
<element2>value2</element2>
</child>
<child>
<element1>value1</element ...
|
Count Nodes
Thu, 26 Jun 2008 17:42:07 -0700
I wish to get a count of nodes in an xml file in vb.net, so I am using the
following, as a simple example:
MyCount = xmlNodePart.Current.Select.//MyNode/Record[*]).Count
I saw in some xml specs that instead of [*] it should be [@*], but that does
not work. Why would the @ symbol be needed?
D ...
|
How do I set the utf
Thu, 26 Jun 2008 10:49:32 -0400
The following is what I have :
XmlWriterSettings xmlSettings = new XmlWriterSettings();
xmlSettings.Indent = true;
xmlSettings.IndentChars = " ";
xmlSettings.Encoding = System.Text.Encoding.UTF8;
StringBuilder sb = new StringBuilder();
using (XmlWriter writer = XmlWriter.Create(sb, xmlSettings))
====== ...
|
XMLSPY Question
Thu, 26 Jun 2008 07:10:30 -0700 (PDT)
Altova posted an announcement regarding XMLSPY 2008 stating it can
handle much larger files.
So how large is large?
Does it load the entire XML document into memory, or does it stream,
like xmlreader?
I read it has spyware so am reluctant to download the trial version. I
did download Stylus Studio and it ...
|
Encrypt Content In XML
Tue, 24 Jun 2008 18:28:07 -0700
I will have security rights stored in XML data, and I just need the content
of elements and/or attributes to be encrypted. When the dotnet application
reads in the information, it would run a simple decryption on the data. I
have one routine that does this, except is uses hexadecimal characters, so I
need it ...
|
deserialising xml files with no namespace
Tue, 24 Jun 2008 02:17:00 -0700
I've created some c# classes from Xsds.
The classes have namespace attributes in the XmlRootAttributes.
Accordingly, they will NOT deserialize with the XmlSerializer unless the
same namespace is defined.
I've prepared a temporary fix by loading the xml as an XmlDocument, amending
the first element to in ...
|
Creating an XML document
Fri, 20 Jun 2008 09:16:52 +0100
Hi,
First of all, a confession. This is a cross post from the
microsoft.public.dotnet.general list. I posted there not realising that
this list existed. Apologies to those who read both lists. I'll do my
best to prevent two separate conversations developing.
I'm trying to create an XML Document. Thi ...
|
|
|
CheckSignature Slow!!
Wed, 18 Jun 2008 20:18:42 +0200
Hi,
Using checkSignature is very slow. Any fix for this?
I have found a possible solution at:
http://www.themssforum.com/Framework/SignedXmlCheckSignature-very/
... but I don't like the idea of modifying every machine.config out there!
Is there another workaround?
Thanks,
Ramiro ...
|
Create Diffgram Based on 2 Different XML Files or Data Sets
Mon, 16 Jun 2008 13:18:44 -0400
I have an xml file that my application downloads on a periodic basis. I also
have a dataset based on this that is used in the application. At present,
the application takes the new downloaded xml, creates a data set from that
and merges it with one in use. The ultimate goal is to have the update of
the prima ...
|
Extract inline XSD from WSDL
Mon, 16 Jun 2008 00:03:49 -0700 (PDT)
Hi,
I have a WSDL which includes an inline XSD.
My wish is to extract this inline XSD into an external XSD file.
Please recommend me on a technique which will allow me to perform this
kind of action.
If this is too hard, then i will ask for your help with the following
situation:
Validate a given HTTP ...
|