Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run a external program?

Status
Not open for further replies.

RBCC

Technical User
Jun 1, 2003
14
US
Can I run an external program in XML? How is it done? John
 
John,

Why don't you describe what you want to accomplish, rather than how it is to be accomplished? Otherwise, fpmurphy's response is not only short, but correct.



Tom Morrison
 
XML describes data. It is not a program that can call other programs.
 
I am trying to modify this code:
<?xml version="1.0" encoding="unicode"?>
<xsl:stylesheet xmlns:xsl=" xmlns:eek:sxml="osxml" version="1.0">
<_locDefinition>
<_locDefault _loc="locData"/>
<_locTag _locAttrData="pad-left,pad-right">p</_locTag>
<_locTag _locAttrData="height,width">textarea</_locTag>
<_locTag _locAttrData="minsize,noindent">select</_locTag>
<_locTag _locAttrData="size">progressbar</_locTag>
<_locTag _locAttrData="size,maxlen">input</_locTag>
<_locTag _locAttrData="value">osxml:update</_locTag>
</_locDefinition>
<xsl:template match="fve-bad-pcr-registers">
<osxml:text-mode-ui>
<head>
<footer color="RGBIXXXX"><xsl:text> ENTER=Continue</xsl:text></footer>
<meta key="ENTER" action="continue"/>
</head>
<body background-color="XXXX" foreground-color="RGBX">
<font foreground-color="RGBI">
Windows BitLocker Drive Encryption Information<br/>
</font>
<br/>
<br/>
The system boot information has changed since BitLocker was enabled.<br/>
<br/>
You must supply a BitLocker recovery password to start this system.<br/>
<br/>
Confirm that the changes to the system boot information are authorized.<br/>
<br/>
If the changes to the system boot information are trusted, then disable and re-enable BitLocker. This will reset BitLocker to use the new boot information.<br/>
<br/>
Otherwise restore the system boot information.<br/>
<br/>
</body>
</osxml:text-mode-ui>
</xsl:template>
to have this format
<header>
Windows BitLocker Drive Encryption Information<\header>
description of bitlocker
footer:
continue press alt-c or boot alt-b.
with various colors and at the end a prompt that says "would you like to contine or boot?

John
 
I would like to use different fonts and colors for the bitlocker description. Also stopping and waiting to give the user a chance to read further about bitlocker or boot the computer. Then they will be presented with a customized boot screen. Then it will used a avi or animated gif for the progress bar on the boot screen. Has anybody done something similar to this? John
 
You'd have to go to the source, ie, the program reading the XML rather than modify it.

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top