multiple xml stylesheets

K

Kevin

I would like to change the naming convention for my stylesheets so
they include the version number of the release. Because the xml files
that are created by the application may be read and created between
multiple versions of the application (those that have the latest
updates, and those that do not), there is a need to either use the
latest xsl stylesheet, or use the previous xsl (generic version)
stylesheet.

Is there a way to use the latest style sheet if it exists, and if not,
then use the older generic stylesheet?

I know that I can specify multiple stylesheets but if the new one does
not exist in this case, the xml does not display in the browser.

<?xml-stylesheet type='text/xsl' href='new_style_sheet_Version1.xsl' ?<?xml-stylesheet type='text/xsl' href='generic.xsl' ?>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top