Welcome to WebmasterWorld Guest from 54.158.143.40

Forum Moderators: httpwebwitch

Message Too Old, No Replies

Trying to modify code

bootmgr.xsl

   
7:32 pm on May 7, 2009 (gmt 0)

5+ Year Member



This file is part of Windows Vista it is called bootmgr.xsl:
<osxml:text-mode-ui>

<xsl:template match="bootmgr-end-menu">
<osxml:text-mode-ui>
<body background-color="#*$!X" foreground-color="RGBX">
<br/>
</body>
</osxml:text-mode-ui>
</xsl:template>

<xsl:template match="*¦@*¦text()"/>

</xsl:stylesheet>
Thank you for your help.
what is osxml?
Do I need to use it?
RGBX- what is the x for?
RGBI what is the I for?
John

8:39 pm on May 7, 2009 (gmt 0)

WebmasterWorld Administrator httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Hi rbcc (John), welcome to WebmasterWorld!

So. you're hacking your boot screen.

osxml is an XML namespace. It defines a space where "text-mode-ui" means something. So yes, you do need to use it because XSLT is picky about namespaces; if you omit them, the sheet won't work.

RGBX and RGBI... hmmm. They aren't variables nor are they actual hex colors. They're probably just strings that refer to default values when rendered by Vista. If you're curious, try replacing them with something else, and see what happens. Worst case is you'll cause your PC to explode, shrapnel will pierce your skull, and the explosion will destroy your house and all that you love and deem holy. Or you might have to reboot Windows.

Make sure you take a backup and restore point first.

5:41 am on Jul 5, 2009 (gmt 0)

5+ Year Member



What is the I in RGBI and then X in RGBX? Also can I put a picture in this sequence?
<xsl:template match="progress-bar">
<osxml:text-mode-ui>
<body background-color="#*$!X" foreground-color="RGBX">
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>

</body>
</osxml:text-mode-ui>
</xsl:template>

Can XML display animated gifs? if so how would I put in here?
<p pad-left="25">Windows is loading files...</p>
<br/>
<meter name="progressbar" size="76"/>
<p pad-left="2">
<textarea name="progressinfo" width="76"/>
</p>
Thank you for your help! John!

7:46 am on Jul 12, 2009 (gmt 0)

5+ Year Member



wow if all that will happen I must leave it alone LOL.
Can I replace osxml with another namespace? if it is dead, what good it is it? JOhn