[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xsl, and different xml versions

Subject: Re: xsl, and different xml versions
From: Jake Briggs <jakbri@xxxxxxxxxxxxxx>
Date: Fri, 15 Apr 2005 15:33:47 +1200
jake briggs
A simple "yes" would have sufficed.

Aron Bock wrote:

Jake, that was just an example of using modes to invoke different templates ... which happen to reside in different stylesheets. Adding a "version" attribute (as you indicate below) and branching on that value are necessary for your specific problem, but are simply clerical details wrt the general approach.

Regards,

--A

From: Jake Briggs <jakbri@xxxxxxxxxxxxxx>

Thanks for the reply. How do we know which "mode" the input file

(doc.xml) should be transformed in?
Should it not be like this :

The input file (doc.xml):
=====
<doc version="a"> ######## Note the version attribute ########
<foo/>
</doc>


_________________________________________________________________
Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/



-- Named after its country of origin 'England', English is a little known dialect used by up to 1.5 billion non-Americans worldwide. Some interesting but obviously incorrect features of the language include:

- queues of people
- wonderful coloUrs
- the useful metal aluminIum
- the exotic herbs (h-urbs), basil (ba-zil) and oregano (o-re-gaa-no)
- specialiSed books called 'dictionaries' that tell you how to spell words correctly

Many people using this bizarre gutter speak also subscribe to the pagan belief that water freezes at 0 degrees and that distances should be measured in the forbidden mathematical system of base-10...

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.