homepage Welcome to WebmasterWorld Guest from 54.234.147.84
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / XML Development
Forum Library, Charter, Moderators: httpwebwitch

XML Development Forum

    
Trying to modify code
bootmgr.xsl
rbcc




msg:3908889
 7:32 pm on May 7, 2009 (gmt 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

 

httpwebwitch




msg:3908931
 8:39 pm on May 7, 2009 (gmt 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.

rbcc




msg:3946373
 5:41 am on Jul 5, 2009 (gmt 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!

rbcc




msg:3950859
 7:46 am on Jul 12, 2009 (gmt 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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / XML Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved