Click here to Skip to main content
16,008,719 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: timer.. Pin
hkl25-Mar-02 15:29
hkl25-Mar-02 15:29 
GeneralRe: timer.. Pin
Nish Nishant25-Mar-02 16:12
sitebuilderNish Nishant25-Mar-02 16:12 
GeneralRe: timer.. Thank you! :) Pin
hkl25-Mar-02 16:22
hkl25-Mar-02 16:22 
GeneralRe: timer.. Pin
Le centriste26-Mar-02 2:03
Le centriste26-Mar-02 2:03 
GeneralRe: timer.. Pin
Tim Smith26-Mar-02 2:23
Tim Smith26-Mar-02 2:23 
GeneralPassing parameters to an HTML page Pin
HawkSoftware25-Mar-02 13:58
HawkSoftware25-Mar-02 13:58 
GeneralRe: Passing parameters to an HTML page Pin
Derek Waters25-Mar-02 14:48
Derek Waters25-Mar-02 14:48 
GeneralRe: Passing parameters to an HTML page Pin
HawkSoftware25-Mar-02 18:37
HawkSoftware25-Mar-02 18:37 
Derek,

Thanks for that input. I have just started tinkering with ASP but I think that would require a server right?

Here is the scoop. I have a MFC C++ application that uses the WebBrowser2 interface. I am navigating to an HTML file that looks like this:




<xml id="data" src="CurrentStates.xml">
<xml id="format" src="TransformCurrentState.xsl">


CurrentState.innerHTML = data.transformNode(format.XMLDocument);










The "TransformCurrentState.xsl" needs to parse through the "CurrentStates.xml" which is a database of several dozen elements. The user can identify which element to be parsed but I don't have any way to tell the script which element is to be parsed.

Ideally there would be a way to tell this script something like: building=1 floor=1 room=1. Right now I am doing some pretty ugly stuff. I am generating a small xsl file that is included by the "TransformCurrentState.xsl". It works but it feels wrong so I know there must be a better way.

Any more thoughts?

Thanks,

Steve
GeneralRe: Passing parameters to an HTML page Pin
HawkSoftware25-Mar-02 18:39
HawkSoftware25-Mar-02 18:39 
GeneralRe: Passing parameters to an HTML page Pin
HawkSoftware25-Mar-02 18:40
HawkSoftware25-Mar-02 18:40 
GeneralRe: Passing parameters to an HTML page Pin
Derek Waters25-Mar-02 19:20
Derek Waters25-Mar-02 19:20 
GeneralResource DLL Pin
WilliamB25-Mar-02 13:27
WilliamB25-Mar-02 13:27 
GeneralRe: Resource DLL Pin
Ben Burnett25-Mar-02 13:42
Ben Burnett25-Mar-02 13:42 
Generalcolored textbox Pin
25-Mar-02 12:38
suss25-Mar-02 12:38 
GeneralRe: colored textbox Pin
Alan_Yu25-Mar-02 13:52
Alan_Yu25-Mar-02 13:52 
GeneralRe: colored textbox Pin
Nish Nishant25-Mar-02 14:31
sitebuilderNish Nishant25-Mar-02 14:31 
GeneralMapping solution for C++ Pin
Member 9625-Mar-02 12:43
Member 9625-Mar-02 12:43 
GeneralRe: Mapping solution for C++ Pin
Paul M Watt25-Mar-02 18:34
mentorPaul M Watt25-Mar-02 18:34 
GeneralRe: Mapping solution for C++ Pin
Member 9625-Mar-02 19:17
Member 9625-Mar-02 19:17 
GeneralRe: Mapping solution for C++ Pin
DRHuff26-Mar-02 11:10
DRHuff26-Mar-02 11:10 
Generalfinding max min and mean value Pin
25-Mar-02 12:12
suss25-Mar-02 12:12 
GeneralRe: finding max min and mean value Pin
Joaquín M López Muñoz25-Mar-02 12:23
Joaquín M López Muñoz25-Mar-02 12:23 
GeneralRe: finding max min and mean value Pin
25-Mar-02 12:49
suss25-Mar-02 12:49 
GeneralRe: finding max min and mean value Pin
Tim Smith25-Mar-02 13:46
Tim Smith25-Mar-02 13:46 
GeneralRe: finding max min and mean value Pin
Nish Nishant25-Mar-02 14:32
sitebuilderNish Nishant25-Mar-02 14:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.