OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
XSLT styleswitching
This page's ID:
23117
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Well, it's kinda hard to do a style switcher for XSLT - XSLT isn't a style sheet language, it's a transformation sheet language. It works by changing the document into another structure. XSLT transforms a source document into another generated document. The DOM works on this generated document, not the source document, and thus you can't use the DOM for changing the transformation sheet. At least, I don't think there is a good API for doing it. I'd hunt around http://unstable.elemental.com/mozilla and http://msdn.microsoft.com/ before I say anything more final, though, there might be APIs that I have overlooked. As a second note, neither Opera nor Safari suppports XSLT in their current versions, though Safari will probably have XSLT support in it's 2.0 version. -- var Liorean = { prototype: [sigrotate]JavaScript|XML|XHTML|HTML|CSS|ProgrammingTheory[/sigrotate]Guru.prototype, abode: "[sigrotate][url]http://liorean.web-graphics.com/[/url]|[url]http://codingforums.com/[/url]|[url]http://web-graphics.com/[/url][/sigrotate]", profile: "[url]http://codingforums.com/member.php?u=5798[/url]"};
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »