all groups > dotnet xml > june 2007 > threads for june 1 - 7, 2007
Filter by week: 1 2 3 4 5
Object Serialization
Posted by KittyHawk at 6/7/2007 7:22:09 AM
How would I set up a class or classes to serialize to XML in the format
below? I cannot figure out how to serialize the group of links as "id"
attributes of the link element.
<data>
<links>
<link id="1" />
<link id="2" />
</links>
<time>12:00</time>
</data?... more >>
Can't Access to a file
Posted by Nimrod Rotner at 6/7/2007 1:59:00 AM
Hi,
I am trying to create html file using XML and XSL (with XmlDataDocument and
XslTransform objects) within asp.net 2003 app.
Keep getting : "...test.html" is denied.
here is the code:
-------------------
XmlDataDocument xmlDoc=
new XmlDataDocument();
xmlDoc.DataSet.ReadXml(Server.Map... more >>
XPath and web.config
Posted by J.Marsch at 6/6/2007 5:12:52 PM
I must be completely losing my mind.
I have some code that writes to config files. It works great with
app.config files, but fails miserably with web.config files. For the life
of me, I cannot figure out what is going on here.
I have taken it all the way back to just selecting the config... more >>
How can I create an XSD document based on an XML file content?
Posted by Bill Nguyen at 6/4/2007 4:28:02 PM
Is it possible to create your won XSD to use with .NET based on an XML
content?
For example the one below:
<?xml version="1.0"?>
<pcats:FuelsDoc
xmlns="http://www.naxml.org/Retail-EDI/Vocabulary/2003-10-16"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="NAXML-... more >>
schema question for dynamic elements
Posted by Jerry N at 6/4/2007 2:46:33 PM
I was wondering how to write the schema so that the DataSet LoadXml() method
will create the associated DataTable. I've tried the following in the
schema file (using VS.NET 2005):
<xs:complexType name="Header">
<xs:complexContent>
<xs:restriction base="xs:anyType">
<xs:sequenc... more >>
Removing self-closing tags in XMLDocument.Save
Posted by David Cartwright at 6/4/2007 2:39:56 PM
Hi,
I have a VB.NET (VS2005, .NET 2.0) application producing an XML file which
is then used by a third-party product. It turns out the latter doesn't like
self-closing tags (i.e. it would rather see <CardNo></CardNo> than <CardNo
/>).
Is there a simple way to tell the XMLDocument to use ... more >>
xml records c# newbee
Posted by tony leake at 6/3/2007 9:15:29 PM
I need to store records in xml files, i need to load the
record, add new nodes, delete nodes and modify existing ones then
save the file again.
Looks to me like there are different ways of working with xml,
xml file writer and xml documents. Which method is most suitable
to what i want to ... more >>
String representation of XML from System.Xml.XmlTextWriter
Posted by mrdanny2007 NO[at]SPAM gmail.com at 6/2/2007 12:00:00 AM
Is there anyway to get the XML string representation from the
XmlTextWriter object?
I created a function to create an XML using this object, but I need to
send back an XML as the return value of this function. But I am not
sure how to do this.
Sub getXML()
Dim objXMLWriter As N... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
|