473,763 Members | 5,396 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dynamic CSS/Personalization with VB.NET and XML/XSLT

Greetings from Snowy Charlotte...

I am trying to create a dynamic web site that will be "skinned" based
upon an authenticated user's information. This skinning could be
extensive (entire change to the UI appearance) or more minimal with a
measure of personalization such as the adding of links to a
navigational menu option.

I've done something similar to this in the past by putting all the
appropriate data into a database table, but that option will not be
available in this situation. I'm hoping to be able to do this with
XML/XSLT.

My vision was to create a CSS on the fly based upon information in one
XML file such as:
<?xml version="1.0" encoding="utf-8" ?>
<styles>
<style>
<name>Error</name>
<font>Times</font>
<color>Red</color>
<size>24pt</size>
</style>
<style>
<name>1</name>
<font>Arial</font>
<color>Blue</color>
<size>18pt</size>
</style>
<style>
<name>2</name>
<font>Tahoma</font>
<color>Green</color>
<size>14pt</size>
</style>
</styles>

The idea here being to pass to the walk the xml tree based upon the
<name> that I will know once the user has logged in and has been
authenticated.

Once that phase is complete, I need to get the information specific
for the UI changes, such as logos and the aforementioned links idea. I
have not created this xml document yet, and would appreciate any
suggestions the world can offer.

In addition to applying these UI changes, I will need to be able to
write back to the xml document to add or delete links, etc.

After spending a couple of days on this, by brain is about to explode.
I'm hoping someone out there has some words of sage advice for me, or
can point me to a couple of resources to help me get this going.

The frightening thing is that I've seen this done using CORBA and pure
XML/XSLT, but I need to be able to do this using ASP.NET (VB.NET code
behind) as there is going to be much, much more going on that using
XSLT for creation of the page layout is not feasible.

Thanks in advance for your help, and I'll look forward to the
(hopefully many) reponses.

Take care,
Ric
Nov 18 '05 #1
1 1873
<bump>

Any advice would be welcomed!

Thanks in advance,
Ric
Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1901
by: Alan Searle | last post by:
I find that I can display structured data very nicely using XML with an XSL template. As an extra 'goodie', I would like to give users the ability to sort that data (for example with a button above a particular column). What I need to know now is whether this is possible with XML/XSL? Or do I need to resort to a programming language (maybe JScript?). So far I have worked with the XML and XSL split into separate documents. However, I...
0
1171
by: Danny Tuppeny | last post by:
Hi all, I'm after some advice... I'm building a website which will have a login etc.. The Personalization in asp.net 2 stuff looks like it'll save me some time (login controls etc.), however, the rest of my site ties very intimately into my users. I have many tables (such as News, PhotoGallery, ForumPost) which have a UserID column. From a user, I want to be able to get at a List<News>, List<PhotoGallery> etc.
2
3157
by: bradgatewood | last post by:
I am in the process of developing a highly customizable application and I'm looking for a way to allow personalization by role. This is different than shared scope in the fact that I want to allow multiple clients to make modifications to properties, placement, controls on page, etc... and have all users see the customizations that apply to them. Customizations will take place at Client > Branch > Division levels. So when a user logs into...
1
1660
by: Ya Ya | last post by:
I am using the personalization feature in asp.net 2.0 I am storing the phone number for each user. When a certain user enters his phone number I would like to check if another user already store this phone number. Is it possible to query personalization data so I will be able to retrieve the phone number of each user?
5
1318
by: Daniel Frey | last post by:
Hello I'd like to match a dynamic node, given as a parameter to the stylesheet. Something like: <xsl:stylesheet ...> <xsl:param name="tomatch"/> <xsl:template match="{$tomatch}"> Hallo </xsl:template>
4
3647
by: Ed Jay | last post by:
I generate a DHTML page (a medical report) with dynamically generated text based on user input (answers to questions). The page length changes dynamically. I desire that when the page is printed and reaches a specific length, it terminates printing that page, prints a page number, and then begins to print the next page using the same header and format as the previous page. The page uses no tables or paragraph elements, only CSS. IOW, I...
2
1795
by: Roger23 | last post by:
I have a requirement where I need to remove or disable the entire personalization feature of my web application. I am not allowed to have a SQL express on my web server and I am not allowed to have any SQL Express or any SQL server for that matter. how do i disable the entire personalization of my application. i tried: <webParts > <personalization defaultProvider=""> <providers> <clear/>
0
1064
by: Bei | last post by:
Now I'm facing a requirement that every users can personalize their own web parts, and there is a administrator who has rights 1, to publish a 'personalization' of a single web part to all users in his group. 2, to a 'personalization' of a whole page. my solution to the first problem is: Add a new class inherits the webpart class and implements the IPersonalizable Interface and write code below to personlize: void...
0
1465
by: miamikk | last post by:
I am XML newbie. I have question about inserting dynamic text in the header of HTML table. This is the site I have created (Only Report Type 1 is working) http://www.ustrade.fiu.edu/CustomsDistrict_Free.aspx The headers (Commodity Description, HS4, etc.) are static and I would like to add Month value in the Columns 3-6. Instead of "Year Amount($)", I would like to have the column header as "Month Year Amount ($)". Right now the "Year"...
0
10148
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9823
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8822
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6643
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3528
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2794
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.