all groups > dotnet xml > july 2003 > threads for july 29 - 31, 2003
Filter by week: 1 2 3 4 5
XmlSchemaParticle
Posted by Matt Frame at 7/31/2003 5:27:12 PM
I am trying to traverse a schema to learn how to use the SOM. I am pretty
far into the schema tree but have found a small problem I can't seem to
figure out. I have a group reference as one of the sequenced elements.
When creating my text report I get the information about all of the elements
... more >>
Merging/Linking XML files?
Posted by Cy Huckaba at 7/31/2003 3:23:45 PM
I have an XML document that is linked to other document and I can't =
figure out what the best way to try and merge them before query qith an =
XpathNavigator.
Simple example...a root xml document contains the root folder that can =
contain items and other folders. The other folders can either... more >>
Serializing an ArrayList
Posted by Christopher Pragash at 7/31/2003 2:37:36 PM
Hello all,
Following is the code that I'm using to serialize an arraylist. This code
returns an "Unknown" Errror. Any ideas would be of great help.
<System.Xml.Serialization.XmlArray(), _
System.Xml.Serialization.XmlArrayItem("User", GetType(User))> Public
arrUserList As New ArrayList
Pr... more >>
Serializing an ArrayList into XML File
Posted by Christopher Pragash at 7/31/2003 1:58:37 PM
Hello all,
I'm trying to persist an object of type Arraylist into XML using the
following the XMLSerializer and it returns an "Unknown" Error. I'm able to
serialize and deserialize the arraylist object using Binary format but
unable to do so using XML formatter. Is it possible to serialize an
... more >>
Transfer data from XML to Stream?
Posted by Rich Wallace at 7/31/2003 1:51:08 PM
Hi all,
I have a COM component that receives XML documents from MSMQ. Before I
process the final documents and pass it to my application, I want to modify
the format a bit, as in create a name/value pair structure from an element
structure or rename certain fields. I'm using XmlTextReader to... more >>
storing xml in filesystem or db?
Posted by Lucas Fletcher at 7/31/2003 3:09:16 AM
Hi All,
I've searched the web for an article explaining the many tradeoffs between
storing your XML in a database vs the filesystem but I haven't really found
anything of note.
This is the little I've come up with:
FileSystem Pros:
1) more scaleable than db, although I haven't seen dat... more >>
Is it possible to serialize a read only property
Posted by Mudit at 7/30/2003 6:45:28 PM
Hi,
I am new to XML Serialization. I am interested in serializing my object to
Xml. I only have to serialize and I needn't worry about deserialization.
As per my understanding, only the properties that have both "get" and "set"
can be serailized. Is that so. Is it also possible to serialize pr... more >>
Appending a Node
Posted by Johnny at 7/30/2003 4:14:04 PM
I have below a sample parent-child xml that I'm trying to
manipulate
<Persons>
<Person Id='1'/>
</Persons>
I will have a string that I want to append to my existing
xml shown below:
"<Person Id='1'/>"
My question is, instead of creating a new node using the
createnode method ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Blank lines inserted when XSLT output inside a loop
Posted by Jim at 7/30/2003 10:33:46 AM
When output from inside a loop
<xsl:for-each select="Comment">
<br><xsl:value-of select="Line" /></br>
</xsl:for-each>
A blank line is inserted between each line, when I
remove the <br> then everthings on the same line. Want a
new line but get... more >>
Embedding XML into ASPX question
Posted by Victor Fees at 7/30/2003 6:44:38 AM
I have an XML string in a database that I would like to display using XSLT.
All of that works like a champ, but I can't figure out how to embed the XML
inside an ASPX page.
For example, I have an ASPX page with a Header User Control and a Footer
User Control. I'd like to put the transform... more >>
novice: datatypes
Posted by Al Knowles at 7/29/2003 6:13:29 PM
In a VB6 application, I include this in the code that creates the xml that
is to be sent to the web service:
Set oAttribute = XDOM.createAttribute("SEQUENCENO")
oAttribute.dataType = "int"
oElement.setAttribute "SEQUENCENO", 42
I am not clear on how the .Net Web service XMLTextReade... more >>
XmlNode -> Schema -> Object
Posted by Brad Quinn at 7/29/2003 4:16:46 PM
Lets say I have an XmlNode that validates against some schema. I also have
a class that was generated by the xsd tool using said schema.
What is the best way to get from an XmlNode to an instance of the class?
... more >>
WriteAttributeString
Posted by Bill at 7/29/2003 2:39:31 PM
I'm trying to write out an XML file from VB and have it
mostly done, but I need the following header and can't
seem to get the right syntax for the WriteAttributeString
methods to get this result.
<fsaAtlasData xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance"
xsi:noNamespaceSchemaL... more >>
Changing Node Values
Posted by Mike McCarthy at 7/29/2003 12:33:21 PM
I have the following XML..
<?xml version="1.0" encoding="UTF-8"?>
<EMS>
<Scene>
<Number_of_Patients>1212</Number_of_Patients>
<MCI code_description_type="description">
<Code>Stri</Code>
</MCI>
<Location_Type code_description_type="description">
<Code>Stri</Code>
</L... more >>
tif file loses integrity when uploaded
Posted by Al Knowles at 7/29/2003 10:13:08 AM
I have researched and tried every method I can find for passing a two-page
tif file from a VB6 application to
a web service via XML. These include XMLTextReader.ReadBase64,
Convert.FromBase64, and using
the Binary Writer. When the web service stores the file, the length is the
same as the up... more >>
XmlTextReader and 2GB file limit
Posted by Hugh McFadden at 7/29/2003 9:37:13 AM
Are there any work arounds to get XmlTextReader to work with files bigger
than 2GB? I tried to get the source of XmlTextReader and create a version
with long (instead of int) offsets but I can't compile it due to package
restrictions.
Best wishes,
Hugh McFadden
hugh.mcfadden@visiongain.co... more >>
Parsing XML over TCP/IP
Posted by Thomas Polan at 7/29/2003 9:17:58 AM
Sorry if this has been posted before...
I am receiving XML messages over a TCP client. Messages vary in size and
sometimes can arrive in groups. Thus, I am not guaranteed to receive a full
message in a single read from my socket.
I am loading each message into an XmlDocument after it arriv... more >>
|