Ordering xml using xsl in c#
I have a xml dataset I'd like to order, and save in that
order. I've written an xsl to do the transformation, but
because the xml file has a xsd namespace, it doesn't work.
A cutdown version of the xml file looks like this:
<?xml version="1.0" standalone="yes"?>
<comment>Herbert Smith London Offices</comment>
I've done parsing where you have one delimiter such as a comma or
What if you have more than one?
sStr(0) = "3/9"
sStr(1) = "3/11 3/15-"
sStr(2) = "3/8+ 3/12"
sStr(3) = "3/9 3/15"
sStr(4) = "3/8- 3/10+ 3/15"
The strings above are Month/Day with some having an additional - or +
character next to it.
These dates are extracted from Excel cells as strings.
I need to break those strings down into individual dates.
So for sStr(4), I need to parse out "3/8", "3/10" and "3/15&...Email file corrupt?
Yesterday I somehow managed to erase the boot sector from my HD and it took
a whole day to recover my partitions which were left fully intact. My
system had been in hibernation mode before that, but when I got back to the
windows desktop I found I was frozen out (even task manager wouldn't come
up) and I had no alternative but to reset.
Problem was, outlook express was open when I hibernated. When I reset, I
started outlook and all seemed fine. A couple of hours later though, I
started getting GPFs (or whatever XP calls them) when I tried to reply to
email, or double click one to view ...Changing the Money 2004 data file a Pocket PC uses
I have Money on my Pocket PC. I was satisfactorily
synchronising with Money on my desktop. I had to change
the data file on the desktop. Having done that, I
deleted the old data on the Pocket PC. However, when I
go to load from the new file, only one Money Account (eg
Visa, Cash, etc. shows up in the list from which to
select those to synchronise - Investments to Watch. (On
the page found by selecting 'Microsoft Money' in the list
Can anybody save me the $50 minimum Microsoft wants to
charge me? (Which is a bit stiff given that Money 2004
is not a product...Problem opening serialized file via Open command associated with file type
I have an SDI MFC application that produces a serialized project file via
CObject's serialization support. The application can read the file from
within the application just fine. The installer registers the program and
the file extension properly and associates the file type with the
application. However, when I double click on the project file, the
application generates an "Unexpected File Format" message.
Is there a method in the document class that needs to added to handle this
I want to try and debug the problem but not sure how to invoke the debugg...Inserting files into excel worksheets
Why is there no option for inserting an files into an existing Excel
worksheet similar to the option forinserting files into Word and PowerPoint
files. I work for a CPA firm and this would be a valuable feature feature.
"ccwies" <email@example.com> wrote in message
> Why is there no option for inserting an files into an existing Excel
> worksheet similar to the option forinserting files into Word and
> files. I work for a CPA firm and this would be a valuable feature feature...Sync Outlook files
Using Outlook 2003
Can anyone tell me an easy way to sync a laptop outlook files with my
desktop's outlook files.
PATRICK REED [Outlook - MVP]~~~~~~
-Microsoft Certified Professional (MCP)
-Have you checked http://www.slipstick.com?
-Please post your Outlook version!
"Shane Nation" <Shane@nation22.freeserve.co.uk> wrote in message
> Using Outlook 2003
> Can anyone tell me an easy way to sync a laptop outlook files with my
> desktop's ...how to parse <?xml version="1.0" encoding="UTF-8"?> with xpath? is it possible?
how to parse <?xml version="1.0" encoding="UTF-8"?> with xpath? is it
"Daniel" <firstname.lastname@example.org> wrote in message
> how to parse <?xml version="1.0" encoding="UTF-8"?> with xpath? is it
No -- the xml declaration is not represented in the XML Infoset.
Is there some way of copying emails in my Outlook 2000 personal folder
in a format that can be read by MS Word.
...How can a split a PUB file into multiple parts?
I cannot find the way to divide a large (150 pg) PUB file into smaller parts.
I also want to find out how to extract a single page (the cover) and open
only it as a new file.
Save your publication with a new name.
What version Publisher? If you have 2007 you can select consecutive pages by
pressing shift and selecting the page tabs you want to delete. Or press control
if the pages are not consecutive.
Once deleted, save as a new file. Open the old file again, delete all the pages
you don't want and save again with a new name and so on until you have all the
sections you need.
If ...Locating xmlns nodes in XML documents (for XML document metrics)
I've been writing an XML document analyzer that reads XML document
and tracks the metrics of the document. Statistics such as a node count fo
each type of XML node are printed out
I am trying to locate 'xmlns' nodes using the XPath (not DOM or SAX) API
Unfortunately the XPathNavigator concept of namespace nodes for eac
element is only accessible via MoveToFirstNamespace() an
MoveToNextNamespace(). The XPath model constructs a namespace node lis
for EACH ELEMENT where each namespace node represents a namespace CURRENTL
IN SCOPE for the current XML node
I would like to easily loca...What's the name of the file that stores AutoComplete addresses
My Outlook had to be re-installed and I lost my contact list which is very
large. I see several files in the recycle bin. Is one of them by contacts?
Autocomplete cache is an NK2 file, named for your profile, often
Paste the following line in the address bar of windows explorer;
and it will open to the folder where its stored.
Diane Poremsky [MVP - Outlook]
Outlook Tips: http://www.outlook-tips.net/
Outlook & Exchange Solutions Center: http://www.slipstick.com/
Outlook Tips by email:
mailto:dailytips-subsc...Show last files used in File dropdown menu
The File dropdown menu has always shown the last 3 files I used at the bottom
of the menu, but someone in my family has done something to turn this feature
off. How do I turn it back on? I know this is a simple question, but I
can't seem to get a simple answer!!
Thanks so much to whomever can help me with this.
tick the "recently used file list"
Greetings from New Zealand
"Ladywulfe" <Ladywulfe@discussions.microsoft.com> wrote in message
I have data in cells which is OCR`d from my phone bill, and
some of the info is corrupt. Where I should be getting eg. 17 Nov 14:49 for
date/time I am getting O17 Nov 14:49 or
C17Nov 14:49. The reason is that there are unreadable icon characters to
signify day or night.
1)How do I remove the faulty characters......they are always the first digit
in the date if they are there.
2)How can I seperate the date and time into two adjasent colums of cells
rather than their current format in one cell.
Any and all help greatly appreciated. John
You ca...What is the quickest way to get an xml based dataset to add entries to SQL Server?
Because there is no 'datareader' involved, what is the most efficient
way to get an XML based dataset to be added to an SQL server dataset? I
would hate to have to create a new SQL connection and iterate through
making "executenonquery" for each row in the dataset. That seems
horribly in-efficient. I know of no other way to get an xml based
dataset to push data to the database though. Any pointers?
Thanks for any pointers,
Freelance Programmer C#/PHP
"MurdockSE" <email@example.com> wrote in message
I am new to SSRS and currently struggling with subscriptions. I have created
one (Delivered by: Windows File Share) for a simple report. No matter what I
try I keep getting
"Failure writing file Report1 : The report server has encountered a
configuration error. See the report server log files for more information."
Log file shows:
w3wp!library!1!01/06/2010-11:06:00:: e ERROR: Throwing
The operation is not supported on a report server that runs in native mode.,
I am running Microsoft Office 2000 on my work computers. I am editing
a database and I need said database to export a table named Data Table
to a .xml file. I also need to be able to import a .xml file and have
it added to the same table.
I don't know if 2000 has the capability. Check your VBA references for an
XML library. I am using 2003 and we have it. You use the xmlExport and
xmlImport methods to do that.
Dave Hargis, Microsoft Access MVP
> I am running Microsoft Office 2000 on my work computers. I am editing
> a database a...Parse Nested Elements to Single DataGrid
I have been losing my mind trying to parse an XML document (with nested child
elements, not all of which appear in each parent node) into a DataGrid
object. What I want to do is "flatten" the XML document into a text
document with a single row for each parent node (that has all of the values
from all of the child nodes for that row)
The DataView within VS 2005 IDE displays my 15 or so child tables - and
knows that some parent rows don't have child rows in every relation - but
trying to get all the child tables to go with the correct parent row
programmatically is killin...Access data in a money file...
First time that i post a message to that group....
I'm trying to access the data stored in a money file as i suppose it
is stored in a database manner...
Does anybody know of a way to do so through ODBC or something similar
See http://www.bollar.org/msmoney/#Q10 and
"Laurent Ades" <firstname.lastname@example.org> wrote in message
> I'm trying to access the data stored in a money file as i suppose it
> is stored in a database manner...
> D...Problem when trying to pdf publisher file
When trying to pdf a publisher file it comes out being about 7 times larger
than the publisher file. Too big for email which I need. Why is this?
> When trying to pdf a publisher file it comes out being about 7 times
> larger than the publisher file. Too big for email which I need. Why
> is this? Thanks,
With the wealth of infomation you've given, I'm sure you'll have people
clamouring to assist you. Why don't you start by answering some basic
1) What version of Publisher are you using?
2) ...Upadate page element across multiple pages/files?
You're creating wire frames for a web site.
You've got 5 menu items and 5 files (each file representing the
different content for each menu item).
You find out you need a 6th menu item.
How do you add the 6th menu item to the menu and have it update all
five of the other files?
Perhaps using 5 "pages" in the same file, rather than 5 separate files?
I checked into "Templates" and "Styles" in the help documentation...
but no luck. I know this is possible in HTML editors like DreamWeaver
I figured ...Opening excel files
If I open an excel document from my documents, or other location, excel
opens but then the file does not open.
I can open excel files from excel and using the open command.
but not staright from my documents.
Sometimes one of these works when you're having trouble with double clicking on
the file in windows explorer:
Tools|Options|General|Ignore other applications (uncheck it)
--- or ---
Close Excel and
Windows Start Button|Run
Windows Start Button|Run
The /unregserver & /regserver stuff resets the win...xml graphic representation
I'm new to using XML, so I'm seeking some general pointers about approaching
a project. I'd like to read the sitemap xml file, and generate a graphic
representation of the website from the site map. I would like to do this
dynamically (creating the page from the current sitemap file). I'm wondering
if there are some built in functions I can use, for example to:
1) parse the xml file, creating units at each node
2) interpret levels within the file
3) create graphics based on each node, writing the node property in the text
of the graphic object.
I know what functions I'...How to select multiple files in a folder
I'd like to be able to select multiple files like I used to without using
the check boxes. Please tell me how?
> I'd like to be able to select multiple files like I used to without
> using the check boxes. Please tell me how?
Hold down CTRL (for selecting throughout a list in no particular order) or
SHIFT (sequential selection.)
How To Ask Questions The Smart Way
| I'd like to be able to ...Recover Excel file
Hi Can anybody help me recover an Excel document that was corrupted by a HDD
If you ever stop posting this problem long enough to check proposed
solutions, you could post a link to the file. Perhaps someone would have a
look at it. DO NOT post to the ng.
Greeting from the Gulf Coast!
"Peter Downes" <email@example.com> wrote in message
> Hi Can anybody help me recover an Excel document that was corrupted by a