Welcome to WebmasterWorld Guest from 54.147.134.218

Forum Moderators: httpwebwitch

Message Too Old, No Replies

Trying to modify code

bootmgr.xsl

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

New User

5+ Year Member

joined:May 7, 2009
posts: 3
votes: 0


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)

Moderator This Forum from CA 

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

joined:Aug 29, 2003
posts:4059
votes: 0


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 July 5, 2009 (gmt 0)

New User

5+ Year Member

joined:May 7, 2009
posts: 3
votes: 0


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 July 12, 2009 (gmt 0)

New User

5+ Year Member

joined:May 7, 2009
posts: 3
votes: 0


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