Working with XML Files in Dexterity
I have a lot of programming ahead of me (and behind me) working with
XML, and I'm working exclusively with Dex (as I have been for 11
years). We need to do some some pretty serious and robust XML file
exchanges for various types of transactions. There seems to be two
ways to go about this in Dex:
1) going line-by-line looking at nodes with the
"dataNode.childNodes.item..." functions, and maneuvering data types
for EACH item in a table,
dataNode = rootnodeDispatch.selectSingleNode("VehicleModel");
if not empty(dataNode) then
NodeText = dataNode;
dat...Change the XML elements sequence
I export some database data to an XML file. How do I
change the sequence of the elements (fields) appear in
the XML document?
For example, my XML output from TableA is:
If I want to change the sequence of the fields to:
Does anyone know what is the easiest way to do this
without using "select" statement? (Because this example
has been simplified for easier illustrat...LINQ to XML - Performance
Hi, Can anyone tell me how the performance compares between working with xml
documents in the normal way (i.e. with xpath and the System.Xml) and LINQ.
Is it any quicker or slower?
Are there are distinct benefits to the user (and not just advantages for the
coder) to working with LINQ?
The work i will be doing is creating an xml document out of segments from
other xml documents, transforming the document (XSL) and then
retrieving/amending/appending data to the document. Currentlly xml
transformations in .net 2.0 are very slow and performance takes a real hit
with complex transforms. ...XML Inheritance
I posted this message yesterday on a different group which may have been the
wrong group, so I am not cross posting on purpose.
I have a question regarding how the .Net framework interprets schema
definitions based on existing types.
I have (for the purposes of demonstration) a very simple types schema which
contains some PersonName (T_PERSONNAME) and Address (T_ADDRESS) details as
<?xml version="1.0" encoding="utf-16" ?>
- <xs:schema xmlns=http://com.test.schemas.BaseTypes
...distribution group #7
Do you have to establish an email address for distribution groups so they
will show up in the GAL? If you do how do you keep the mailbox from filling
up with emails?
A DL is NOT a mailbox. Its just a group membership.
"Brandon" <email@example.com> wrote in message
> Do you have to establish an email address for distribution groups so they
> will show up in the GAL? If you do how do you keep the mailbox from
> filling up with emails?
On Fri, 3 Mar 2006 08:10:34 -0600, "Brandon" <whocares@yo...Generete an XML instance from its XSD
Is there a way to generate in code an empty instance of an XML from it's XSD?
I have a lot of schemas and I want at run time to create an empty instance
for them (I then have to fill one or two fields).
Shahar Ron wrote:
> Is there a way to generate in code an empty instance of an XML from it's XSD?
> I have a lot of schemas and I want at run time to create an empty instance
> for them (I then have to fill one or two fields).
Check out this article
<URL:http://msdn2.microsoft.com/en-us/library/aa302296.aspx> which has
code to create a sample documen...How to MoveFirst, MoveNext, MovePrevious, MoveLast in LinQ To XMl Please Help
I have the Next XML
var xml = new XElement( "clients",
new XElement( "name", "Luis"),
new XElement( "country",
n...Routing Group Connection
We have a problem with a new company we purchased being on the same ip range
as one of our other companies. this is causing the obvious problems so we
have isolated the 2 centre and they can no longer talk to each other.
The problem is they are both in the same exchange org and need to send mail
between the servers. We have multiple routing and admin groups all with RG
connectors to each server. I want to push mail from server 1 to server 2
via server 3 basically so the 2 servers can deliver mail for the users.
Thanks in advance.
Add a second NIC to e...Linq or dictionary
I am pretty new to Linq and I am not quite sure when it is best to use it
and when other methods might be preferable.
For example, I need to create a list of Sample objects which I then access
by the SampleName property of each sample.
The way I have generally done this would be with a Dictionary<string,
Sample>, but instead I can use a List<Sample> and access using linq. I don't
know which would be preferable. Any thoughts?
I have example code below.
Dictionary<string, Sample> samples = new Dictionary<strin...Display Count Range of Grouped Items
Hi Folks - I have a database that tracks criminal cases. For each case,
there can be multiple charges. Also, for each case, there could be the same
charge for many counts. So, the data would look something like this:
I'd like a report to be formatted like this:
Counts 1-3 - Charge1
Counts 4-5 - Charge2
Counts 6-7 - Charge3
Count 8 - Charge 4
Not sure...Protection Group not using both tape drives
I have a protection group setup to backup directly to tape. It involves
multiple servers and volumes. I have 2 LTO4 drives but only 1 is being used.
The other drive is idle. Should the protection group not be utilizing both
I guess the way the protection wizard works, you can only select one device for long term protection. If it happens to be an autoloader then you are ok. If it's two drives, then I reckon you can only pick one.
What I would do is setup 2 groups and backup each one to an individual drive (say half the amount of servers in each group).
b...how to write some xml into huge xml file into speceific location???
Is anyone can help me to figure out how to write some xml into huge xml file
into speceific location???
Say, i have a file about 139 Mb and i need to write some data (xml) into it,
but in speceific location (specified by XPath for example). i have tryed
used MSXML dom for it, but its eats memory like a twice bigger then my file.
Is any way to do that without that hurt?
> Is anyone can help me to figure out how to write some xml into huge xml file
> into speceific location???
> Say, i have a file about 139 Mb and i need to write some d...Cannot see Administrative Groups
Exchange 2003 SP1 environment. Delegated a group Exchange
View Only Administrator permissions at the Org level.
Users in the group open system manager on a win2003 DC
(has Exchange 2003 SP1 applied as well) and see only the
Recipients and Tools containers under the Organization.
Global Settings and Administrative Groups containers are
not visible. In properties of Organization object, the
Display Administrative Groups box is checked. Sounds
like a permissions problem, but permissions on the one
administrative group we have shows that the Exchange View
Only Administrator permission...XML/DTD interpreted display...
Is there control in VB2005 (VS8.0) that can display & allow editing of mixed
content XML as defined in specified DTD WYSIWYG style???
Thanks in Advance...
Timothy Casey GPEMC! >> 11950 is the firstname.lastname@example.org 2email
Terms & conditions apply. See www.fieldcraft.biz/GPEMC
Discover valid interoperable web menus, IE security, TSR Control,
& the most advanced speed reading application @ www.fieldcraft.biz
Number 11950 - GPEMC! Replace number with 11950 wrote:
> Is there control in VB2005 (VS8.0) that can display & allow editing of mixed
> cont...Received external mail sent to a non existing group
I received and external mail sent to a non existing group on my domain.How
is this possible.How do I prevent this sort of mail from coming in again.
Thanks for your reply.
What version of Exchange?
If on 2003, you can use Recipient Filtering. (Global Settings | Message
Delivery | Recipient Filtering | check "Filter recipients who are not in the
Directory"; and then apply it to the appropriate SMTP Virtual Server).
"Buc...Question about XML schema and blank element
I'm running into an issue and wondered if any of you XML gurus know a
I'm currently using XML as a data transport mechanism between two
applications and an XML schema for format validating purposes.
Whenever I have an child element that is nested inside another
element, the child element must not be empty or I get the following
"'Element' is an invalid node type."
I've worked around this by adding a filler element as the first child
element with junk as the inner text. The error only occurs if the
FIRST child element is empt...Linq to BindingList
How can I send the result of a LINQ query to a BindingList?
I say not to do this:
<Customer> List lst = (from cust in select new dataContext.Customer
Customer (cust)). ToList <Customer> ();
foreach (Customer c in lst) lbindingListCust.Add (c);
...Need help grouping charts
I have identical charts which occur on multiple sheets. Is there any wa
to group them for editing?
When I group the sheets themselves, it seems to deactivate the charts
I tried doing it with a macro as an alternative and then flipping th
sheets one by one and keying the macro, but I get a message box with:
"Run-time error 1004", "Unable to get the ChartObjects property of th
Does anyone have any ideas
Izzy's Profile: http://www.excelforum.com/member.php?action=getin...XML Custom serialization
I want to serialize a class in a customized way. But I don't want to
implement the ISerializable interafce because I don't want to take
care of every new field I insert to the class.
What I need is a way to customize the serialization of a specific
field in my class but leave the rest to the build-in serialization.
Any guidance will be appreciated.
<email@example.com> wrote in message
> Hi all,
> I want to serialize a class in a customized way. But I don't want to
>...populate a DataSet via a LINQ query (Linq to XML)
Is there a way to populate a DataSet via a LINQ query?
(Linq to XML)
DataSet ds = new DataSet();
dataGridView1.DataSource = ds.DefaultViewManager;
dataGridView1.DataMember = "myNode";
> Is there a way to populate a DataSet via a LINQ query?
> (Linq to XML)
> Instead of;
> DataSet ds = new DataSet();
> ds.ReadXml(myfile.xml, XmlReadMode.InferTypedSchema);
> dataGridView1.DataSource = ds.DefaultViewManage...Creating a group in address book
How can i create a group of Email addresses and name it as MyGroup (for
example),so i type MyGroup in To: box of Microsoft Outlook and the email be
sent to all the reciepients of group?
Thank you so much in advance.
In addition to Milly's answer, note that this will not hide the contents of
the group from all recipients - if you don't want everyone to see all the
recipient addresses (which is good, because you should treat people's email
addys as you would unlisted phone numbers) you'd put the group/list name in
the BCC field, and put your own address in the To field ...importing XML doc into SQL Server
Hello, I am trying to import an XML document into SQL Server. I have tried
DTS, bulk loading into SQL server and anything else I can think of...
The only thing that has worked slightly is :
Dim objSQLConn As New SqlConnection(Constants.ConnectionString)
Dim objAdapter As SqlDataAdapter
Dim objDataRow, objDBRow As DataRow
Dim objDSXML As New DataSet()
Dim child As Xml.XmlNode
Dim objDSDBTable As New DataSet("tblStandardstest")
Dim ObjCmdBuilder As SqlCommandBuilder
objSQLConn.Open(...Group Calendar software
Was wondering if anyone knows of a good/cheap 3rd party software for group
Having issues with Exchange 2003 calendars after the DST patch application.
On Tue, 10 Apr 2007 07:20:58 -0400, "Thinkpad21"
>Was wondering if anyone knows of a good/cheap 3rd party software for group
>Having issues with Exchange 2003 calendars after the DST patch application.
Not sure I understand. Are you getting rid of Exchange or do you want
something to put on top of Exchange to help wit...Need Linq Help
I need linq help. I have a dictionary where the keys are strings and
I need to select from that dictionary into another dictionary where
the first two characters of the key match a parameter.
For exmaple here is the code:
Dictionary<string, string> origDict =3D new Dictionary<string,
I need to select into a new dictionary only where the keys star...THANKS A LOT FOR THIS GROUP
I am just making the final touches in my POS before I go live next
Monday. I just want to say THANKS A LOT to all of you for taking the
time to answer the questions posted because I do not know what I could
have done without this group. I have to say it out loud Microsoft
Dynamics User's Guide is not very good at giving details and after
expending $20K, I do not think that I should pay $500/3hr to get a
basic question answered.
Thanks a lot
I agree - without this group and the kind assistance from the many that
frequent it - we all would have given up a long time ago.