xml containing css

wxdqz

New Member
Hello,

I am looking for a way to encapsulate a style sheet property into an XML tag. I hope I am explaining my problem right, here is an example. Suppose I have a style sheet:

.heading1{
font-family: arial;
color: #000000;
}

So what I am looking for is in my html page rather than using <span class="heading1">text</span>, use <heading1>text</heading1>.
Any help is appreciated.

thanks,
webtekie
 
Back
Top