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'...writing area
I know that I can select an area: ex: A1 to b9. After selecting it is then
possible to write and the marker will automatically move from a1 to b1 to c1
as you press enter (instead of moving down one and one row). However - I do
not remember how I can mark the area for writing. Please help anyone!?
Under Tools/Options/Edit, you can set the direction that the cell pointer
On Wed, 20 Oct 2004 20:05:01 +0200, "Kathrine J Wathne" <firstname.lastname@example.org>
>I know that I can select an area: ex: A1 to b9. After selecting it is then
>possible to write and the ma...generate xml ...
i need to generate an xml files of some data in my database ...
i've an xml sample of the result xml nad i've to create a xml
with the same structure ...
which it is the better and faster way?
Can i retrieve a schema from the sample.xml and then write an
xml based on this schema ?
Might i use Dataset.readxmlschema , Dataset.readxml and
Dataset.writexmlschema , Dataset.writexml ???
tnx in advance
...excel to xml
I am trying to figure this out.
Yes there is some new feature in excel 2003 according to the websites
I browsed thro'
It is about transforming a excel spreedsheet into Xml with the syntax
wanted instead of repeating cut and paste of the syntax in an Xml file.
I was reading in msdn that excel 2003 has these features but I have no clue.
When I give file save as in an excel file .I have many features I can save as
to,so when I select save as xml data .I can include an xml map to map to the
excel fields but after that it doesn't go forward for me.
I nee...novice trying to write formula
I'm trying to write a formula: If column D = K or any number 1 - 12
and K = A then L = NL ( or I could use the number 1)
Please remember I'm a novice EXCEL user...and what little I know i
Message posted from http://www.ExcelForum.com
It's somewhat difficult to follow what you're saying. Does "column D =
K" mean "column D = column K" or is it "column D = the letter K"? And what
does "K = A" mean? And what does "then L = NL ( or I could use the number
1)" mean? HTH Otto
"mary...Line Breaks in XML element value
I am using the XPathNavigator.Value in .Net to get the
value of one of the elements(say "Notes") from my XML ?
The value contains lots of "line breaks" and "spaces".
This is to
try the new car that I bought
How do I avoid getting the "linebreaks" and
extra "white spaces" ? I just want the string "This is to
try the new car that I bought last week".
> I am using the XPathNavigator.Value in .Net to get the
> value of one of the elements(say "Notes&quo...Write to Registry
How to write to registry from MFC 6.0?
I want to change my settings for header and footer for IE 6
> I want to change my settings for header and footer for IE 6
How doing the above is related to writing to registry using MFC?
You can use Reg* fucntions (eg RegOpenKey, RegCloseKey, RegQueryValue,
RegSetValue etc) in Win32. MFC provides similar functionality for its
framework. Take a look at GetProfileString,
tProfileInt, WriteProfileInt etc.
Ajay Kalra [MVP - VC++]
In addition to what Ajay wrote remember you can use AfxGetApp() to get at ...Display differences Write-Host and Write-Warning
I'm new to PS, and a little embarrassed I can't find the answer to this on
I like to format text literals across multiple lines to manage the right
margin of code text, but I'm having a problem with Write-Warning. There is
apparently a significant difference in the way it handles its message text.
Write-Host "Some literal text appended to" `
"some more text on the same line"
Produces the desired output:
Some literal text appended to some more text on the same line
As you, PowerShellers, are aware, t...Condition-clause in XSLT using .Net System.Xml
I'm trying to execute a simple <xsl:if>-clause with a
condition that reads: a<1
In MSXML 4 the clause <xsl:if test="a < 1">do
something...</xsl:if> works fine.
But in .Net Xml it just doesn't work. I can't use the real
character (<) because the XSLT wont be a valid XML.
And if I use the encoded representation (<) it wont
compute at all.
Anybody got a clue what to do???
// Magus - Il Dottore
> I'm trying to execute a simple <xsl:if>-clause with a
> condition that reads: a<1
> In MSXML ...Write / Print Same Record
I have a subForm populated from a main form, but I only write the record if
specific conditions are met. Once they are met though, I want the user to
click a button on the subform and add the record and print that specific
record at the same time.
I was trying to use AddNewRec, but I can't do that because once they add the
record that way, the subForm clears and the button gives an error message.
Is there a way to update the table and print that same record? For example
instead of an AddNewRecord, is there an UpdateTable or and UpdateNewRecord?
Any help would be appreciated.
-- ...Sign Xml
I would like send an user a license certificate which is in xml file. It is
ok that they can read it they are just not allowed to change it. I have
tried to sign my xml document using the SignedXml class and the
RSACryptoServiceProvider to create the key and that works fine.
But I guess that the user just can remove the signed part, change the
doucment and resign it. How can I check for that?
The client is a consumer product which is beeing distributed to multiple
The RSA algorith uses a key pair for encryption and signing. The SignedXml
is d...Guidance Software
My name is Justin Giovinco and I am an IT Recruiter for Guidance
Software, The World's Leader In Investigative Software. We currently
have an urgent need for 2 developers in the Los Angeles area.
The first developer is more of the hardware sort. We're looking for
someone with solid experience designing and developing device drivers
in a windows environment. This person should be well versed in C++,
assembly language, and kernel development. Experience with SCSI,
WinDbg, and SoftIce are all plus's.
The second developer will be for our mobile device product. We are...xml newbie question
We've have just reached a point where our program needs some type of
Industry standard file format & XML seems the obvious choice
Before I go rushing off and use the wrong system can anyone give a little
Our files may be quite large but we will only use them for the - File-Open
and File-Save options
I am currently working in MFC but would like the opportunity to more to .NET
I generally want to store human readable files but also some binary (bitmaps
We use the MFC serialisation which makes for easy programming but a hard
life - is there an XML serialisatio...How to use C# to write an xml document to MemoryStream, not a file?
I'm using XmlTextWriter now, but it seems it can just be used to create a
xml file, how can I do?
Thanks in advance!
> I'm using XmlTextWriter now, but it seems it can just be used to create a
> xml file, how can I do?
MemoryStream ms = new MemoryStream();
XmlWriter w = new XmlTextWriter(ms, Encoding.UTF8);
w.WriteElementString("foo", "", "bar");
Oleg Tkachenko [XML MVP]
http://blog...if System.IO.StreamWriter write throws an exception, is there anyway to close the System.IO.StreamWriter object? it seems to stay open when this happens then future attempts to write to that same path
if System.IO.StreamWriter write throws an exception, is there anyway to
close the System.IO.StreamWriter object? it seems to stay open when this
happens then future attempts to write to that same path fail because it says
its in use by another process.
> if System.IO.StreamWriter write throws an exception, is there anyway to
> close the System.IO.StreamWriter object? it seems to stay open when this
> happens then future attempts to write to that same path fail because it says
> its in use by another process.
The finally-block has been invented for this (untested):...Integrate Collection Letters with Letter Writing Assistant
We suggest that there should be an integration between Collection Management
letters with the Letter Writing Assistant. Some partners are looking for this
integration as well.
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.
http://www.microsoft.com/Businesssol...Xml Validation Against Schema Facets
I know how to use the XmlReader to validate XML against a Schema but how do
I take this one step further and get the Facet information for an invalid
Xml element? I have my own validation event handler and I get the overall
message about the problem but I need to report on what exactly the problem
is. Does any know how to do this? Xml-Spy gives you the exact information
but I need to do it programmatically with customers data and report errors.
They want to know the exact error and right now I have to bring it into
Xml-Spy and create a manual report. .Net has got to have something to do
th...How do we write a letter with office? It is too screwy to do so?
"RHAB" <email@example.com> wrote in message
Eh? Is this real or a wind up?
If you can't figure out how to post a question that we can understand and
respond with an intelligent answer, then yes. It will be too screwy for you
MVP Microsoft [Publisher]
Tech Editor for "Microsoft Publisher 2007 For Dummies"
"RHAB" <firstname.lastname@example.org> wrote in message
news:44B2B719-5AAC-42E1-9195-62097...Instantiating a structure array from XML in .net
My app will have a structure array that will hold the parameters used
to initialize a array of classes at run time to default values. XML
looks like a good candidate to persist the data right? I'd like to
have the XML file that persists the structure array. It would be nice
to just initially author a XML file with my parameter values in it.
It's a bit of a chicken/egg senerio. Is there any way to do this
without first serializing the structure to get a XML 'template' file
upon which to build?
...Guidance on backup exchange server
I would like to have a second exchange server that is fully functional in
the event our first exchange server is down. I am using exchange server 2003
on both servers. The primary DC is Small Business 2003, the backup dc is
server 2003 standard. I would like to be able to take either one of the
servers down at any time with no loss of email function. The servers have
different names example server1.domain.local and server2.domain.local. I have
myself and test users currently using second server, but I need to have all
mailboxes on both servers. I have both exchange servers in sam...CFont Guidance
As I am new to windows coding, could someone give me guidance on how to
create a Font ( using CFont ) and then drawing some text to the screen?
CDC *pDC = GetDC();
//create a 12 point font;
CFont *pOldFont = pDC->SelectObject(&Font);
"Golum256" <Golum256@discussions.microsoft.com> wrote in message
> As I am new to windows coding, could someone give me gui....net xml editor doesn't recognize extension correctly
I am trying to use the xml desinger in .net 1.1 to create
the follow schema. where USAddress is derived from Address
But when I generate the xml file, the .net xml editor says
"The active schema does not support the element 'street'"
The schema is from a msdn .net example.
What I am missing here?
Here are the xml file and xsd file:
Here is the xml file:
<?xml version="1.0" encoding="utf-8" ?>
elementFormDefault="qualified"...Write code to minimize to tray
I've searched for the documentation on this, and can't find it for some
reason. How do you make an app minimize to the system tray?
>I've searched for the documentation on this, and can't find it for some
>reason. How do you make an app minimize to the system tray?
Have a look at the Shell_NotifyIcon documentation.
Unless your minimized application provides some visual notification
mechanism to the user, you shouldn't use the tray notification area as
a place to minimize your application window.
Yeah these api will work for you
I'm trying to create a 24/7 XML listener which will take any XML file or XLS
file and send the data back and forth to SQL Server.
This service has to run 24x7.
...reading an xml file by fragments
I have an Xml document containing the serialization of a
very big arraylist.
Each Item having any type.
The file is big and I don't want to load it like this but
by fragment of item.
I made a try with XPathNavigator, but the Value property
does not send me the result on the form of an Xml string.
So I cant deserialized it with XmlSerializer.
Is there a way to do this?