473,403 Members | 2,270 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

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 1860
<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
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...
0
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,...
2
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...
1
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...
5
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...
4
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...
2
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...
0
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...
0
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)...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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,...
0
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...

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.