I have some XML doc loaded in a C# Web Service.
XmlDocument doc = new XmlDocument();
Code Missing to manipulate header (I would like to replace or manupulate all
Any idea on how to access and manipulate data within the doc header?
> I have some XML doc loaded in a C# Web Service.
> XmlDocument doc = new XmlDocument();
> Code Missing to manipulate header ...Read XHTML into XML
I need to read/parse XHTML aspx pages and look for certain tokens and
content. How can I use a XmlTextReader for this? If not, any other ideas?
Thanks in advance,
Jose Antonio Reyes wrote:
> I need to read/parse XHTML aspx pages and look for certain tokens and
> content. How can I use a XmlTextReader for this? If not, any other ideas?
If the pages are well-formed XHTML then it is possible to use XmlReader
(in .NET 2.0/3.0) or XmlTextReader (in .NET 1.x) to parse the XHTML
documents. You can also use the other XML APIs .NET provides so using
XPathNavigator and/o...30, 60, 90 days late and due within 14 days
I am working on a spreadsheet that will calculate late suspenses. Basically
I have 3 different types of late suspenses and am looking to calculate
between 0 and 30 days late, 30 - 60 days late, 60 - 90 days late and over 90
days and each of these time frames for the three categories. Here is what my
spread sheet looks like:
Name ID TYPE SUSP DAYS OVER DUE UNIT
WOOD 6470 N/A 18-Mar-05 (234) A
SMITH 7453 UNIT 22-APR-05 (199)
JONES 9741 CO 1-Nov-05 (6)
...How to invoke the xml editor?
I installed vs2005 on a new xp pro machine, and installed everything
except C++. When I click on a file with a ".xml" extension it is
opened with IE. When I click file/Edit with XML Editor, it opens it
with Notepad. If I click File/Open With and select XML Editor, it
opens it with IE. So, where is the xml editor?
Can it be invoked from withing VS? Where?
* firstname.lastname@example.org wrote in microsoft.public.dotnet.xml:
>I installed vs2005 on a new xp pro machine, and installed everything
>except C++. When I click on a file with a ".xml" extension it is
>opened ...show XML schema and values
I have an XML document that looks like the following:
What I'm aiming to do is to show the data in a report as in the following
The "Field1-3"-elements can have any name, so I'm trying to get a table that
has in one result column the element name, and in the second colum...Offline synch using XML web-services
This is a bit long-winded. Can somebody read thru these 2 use cases, and
tell me if it is feasible ? :-
Use Case : Replication before Offline Synch
Scenario 1 : Oracle Server , MSDE client
1. User clicks on 'Go Offline'. System creates a MSDE SQL database in
laptop (client), gets the schemas of the tables in Oracle, creates
corresponding tables in client's MSDE SQL (mapping Oracle datatypes to SQL
2. Offline replication program reads in the tables of the server into a
typed datasets, converts the typed datasets into XML, and stores the XML in
the client. (XML serial...XML Serialization ... how to truncate <?xml...
While xml serializing object how can I truncate <?xml ...?> this line alone?
I need to send the serialized xml data to a web method ... since SOAP
already have <?xml tag there was some confusion
Any help would be greatly appreciated
> While xml serializing object how can I truncate <?xml ...?> this line alone?
Serialize to an XmlWriter created with XmlWriterSettings where you set
OmitXmlDeclaration to true.
Martin Honnen --- MVP XML
...Can I create a custom MIME player within Outlook and Outlook Express?
I have a special SMTP e-mail from a custom server that is encoded as
text/myapp-xml. I would like to create a control to format it within
Outlook and Outlook express instead of displaying raw XML. I used the MSDN
mime player example and can view the text/myapp-xml content in a web page
within IE fine, but within Outlook and OE, it is just text. Is there some
special registration I need to do to get the OCX mime player to work in
Below is what the e-mail looks like. Any tips/help are appreciated.
...String to xml document
I was hoping someone can help me with a little problem I can't seem to find
any answers to.
I've got a form wich will be posted. On receiving the post I would like to
parse a formvar to a xml document.
The contents of this formvar (string) will be a valid xhtml document.
Can someone give me a startertip (or more :-)) on how to achieve this?
tnx in advance,
James van der Veen
> I was hoping someone can help me with a little problem I can't seem to find
> any answers to.
> I've got a form wich will be posted. On receiving the p...Beginner of XML
I am a beginner of XML.
I want to group some files together with a xml file. (it includes a text
file, and an image file and a video file)
Can someone show me some guidelines?
...Quickly finding a record within a file
I have a file that contains 1,400 names and addresses. How do I find a name
quickly without having to scroll the whole file?
'Edit - Find' from the menu??
> I have a file that contains 1,400 names and addresses. How do I find
> a name quickly without having to scroll the whole file?
I like applying data|filter|autofilter
Then do a filter using custom, contains, and type just a little of what's in the
> I have a file that contains 1,400 names and addresses. How do I find a...Valid xml to read from an xml file?
I'm using vb.net, i get an error at the reader line saying the remote
server can't be found. Is the below even valid?
dim reader as XmlTextReader
reader = new XmlTextReader ("http://www.mysite.com/my.xml")
do while (reader.Read())
'do some action here
XmlTextReader uses System.Net.WebRequest under the covers -- see if you can
figure out how to create a connection that way. Usually there's some proxy
server information missing that you can enable if you use WebRequest
directly, and then pass the result of GetResponse()...How to Chart the Maximum Point within Two Loops
I have the following dataset. For each person in Column A, I want to
find their maximum sales $ in Column B for each of the location in
Column C and plot them out in a bar chart. There will be always two
locations (series) for each person.
A B C D
1 Faye 14,874 China 7/4/2005
2 Faye 18,050 China 6/27/2005
3 Faye 31,255 US 6/20/2005
4 Faye 56,351 US 6/13/2005
5 Faye 59,352 US 6/6/2005
6 Faye 74,887 US 5/30/2005
7 Jean 42,671 China 5/23/2005
8 Jean 45,560 China 5/16/2005
9 Jean 60,170 China 5/9/2005
10 Jean 100,357 US 5/2/2005
11 Jean 112,163 US 4/25/20...Example eConnect XML documents
MSDN says the following:
Installing eConnect schema
When you include the schemas component of the eConnect install, the
installer places schema files in a schemas folder on your computer.
The following schema resources are available:
The install places the .xsd schema files in the directory c:\Program
Files\Microsoft Great Plains\eConnect9\XML Schema\Incoming XSD
Individual Schemas. The files in the directory contain the schema for
each eConnect XML document.
The install places a file named eConnect.xsd that contains the schema
definition for all eConnect XML documents. The install typicall...Saving DataSet as XML in ADO format using VB.NET
I am trying to convert a lot of web reports from ASP/VB to
ASP.NET/VB.NET. I would like to save my dataset in XML and then use
XSLT to transform the XML. The catch is I would like to have the XML
in the format that ADO uses versus the default format in which ADO.NET
uses. Currently, I am using ADO within .NET, but I am concerned about
the performance and it might improve if I used the native data
providers for .NET. I am not sure if I am missing something but how do
I save the .NET DataSet to XML in the OLD ADO format?
Thanks for you help in advance and it is most appreciated.
In the ...XML variable for description on receipt?
Hi, I would like to add a description (actually all of those 3 extended
descriptions) to display on the printed receipt under the main description.
What is the variable to do that?
"Zorian" <Zorian@discussions.microsoft.com> wrote in message
> Hi, I would like to add a description (actually all of those 3 extended
> descriptions) to display on the printed receipt un...xml to SQL
Hey we have a project in which a company produces a XML page in reply to
actions on it's site.
I see that SQL 2000 works well with XML so Can someone point me in the right
I would like to take the XML from thier SQL and have it "post" to own sql
server (add,create, data, modifity and delete data on the fly).
I was looking at doing XML to HTML and then passing to some a ASP but if we
can grab from the responsetext then we could save time and headaches.
Now I really know next to nothing about XML but I am reading all the
newsgroups and pulled now TONS of xml / sql stuff ...new xml file is larger than the original
i'm working on a windows application that will edit and create xml files from
another application. the original file is 83k, the one created by my vb.net
program is 153k but all i add is a new xmlelement when i use the other
program and add a xmlelement is only increased the file to 85k. how come my
application increased 70k in size and also added the <?xml version="1.0"?>
when i didn't tell it to.
how do i duplicated a xml file and only add the xml element that i want to
insert. where did the extra 70k come from.
here is my code:
Dim newEvtEnr...Time Series and Creating data points within a series
I am trying to change hourly data to include data points for every 15
What I have What I need
Time Data Time Data
3/1/2009 0:00 99.12 3/1/2009 0:00 99.12
3/1/2009 1:00 99.07 3/1/2009 0:15 99.12
3/1/2009 0:30 99.12
3/1/2009 0:45 99.12
So, 1) I need to create data points for time and time within my existing data
2) I need to copy data that occurs in...xml data in excel
I have designed an excel template with tabular format (row by row input) for
user input. I have to make the validation for those input. My question is
that is it possible to use XML schema as the input format template and use
it for the data validation like normal XML validation. Could anyone suggest
me how to do that??
...XSLT, XML to XML
I would like to transform this;
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8" ?>
Basically I am hoping to use XslTransform and an XSLT stylesheet to change
the format of some input XML so i...http xml post
I'm working on a http xml post (request/response).
In my testing - I have been able to create and post xml string/stream and
But now I've been told that I should "code the whole xml payload string as a
I'm not sure what this means and haven't been able to find anything about
Can anyone help me with this?
"CindyH" <email@example.com> wrote in message
> I'm working on a http xml post (request/response).
> In my t...Problem creating XML file...
I'm trying to create this XML file:
<?xml version="1.0" encoding="utf-8" ?>
<Build type="Daily" sync="True" compile="True" assemble="True" >
<Sync version="184.108.40.206" branch="QA">
<Directories basePath="//OpicsPlus/Source/Release" />
For this, I'm trying to use the code below:
private static BuildConfiguration SaveXML(XmlDocument xml, string fileName)
// Creates the nodelist
XmlElement user = xml.Docume...writing an xml inside XmlReader or XPathDocument to a file.xml
I believe this should be pretty elementary, but for some
reason I cannot seem to think of how to write the an XML
file from an incoming XML file.
Basically this is what I do:
XmlReader instance from another module (beyond my control)
XPathDocument = new XPathDocument(XmlReader);
Then translation using XslTransform and output into
NOW THIS IS WHAT I WANT TO DO:
How can I ALSO write the Incoming XmlReader to a file ?
I need this to help debug issues with the incoming file.
So in essence I want to be able to take an XmlReader or
XPathDocument and write it...XML vs. SQL Database
I am developing a home project to be later released as an online
I am currently using XML to store game data, user/member data, and other.
Assuming a user base of 10,000 active users, is there a conflict if one
user is updating information and another user is creating data on the
same xml file?
User 1: update inventory that exists in the XML file
User 2: new user adding their inventory data in the XML file
Thanks for your help.
"Michael Jesse" <firstname.lastname@example.org> wrote in message news:tUVDd.13357$iC4.email@example.com....