January 2002
Intermediate to advanced
480 pages
11h 5m
English
Using the pieces already discussed, you can make an ASP script to dynamically create an XSLT style sheet like the one that appears in Listing 11.2. The code is somewhat general-purpose—at least in the context of the article document type. You can see the general plan in Figure 11.2.

You can include the script from another script, and pass in customizing variables. For example,
<% if Request(“page”)=”” then dynxsl=”xmltest.asp” else dynxsl=Request(“page”) end if roottag=”article” schema=”schema.xml” css=”article.css” ...
Read now
Unlock full access