[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: default template ?
Thanks Andrew ! So, it will match the remaining nodes only ? (not the ones already "treated" by the specific templates ?) I assume there is a priority, specific templates being done before generic ones, right ? Regards, Fabien -----Message d'origine----- De : Andrew Welch [mailto:andrew.j.welch@xxxxxxxxx] Envoyi : lundi 27 septembre 2010 17:45 @ : xsl-list@xxxxxxxxxxxxxxxxxxxxxx Objet : Re: default template ? On 27 September 2010 16:27, Fabien Tillier <f.tillier@xxxxxxxx> wrote: > Hi List. > I was wondering how an XSL Stylesheet can be done to treat all nodes in > an XML file if a template doesn't fit. > I mean, if an xml is like > <Row> > <A>A value</A> > <B>B value</B> > <C>C value</C> > </Row> > > If I get one template for treating <A> nodes (match = "A"), and one for > <B> nodes, I would like to have some kind of fall back template for the > C nodes which don't have a specific one. > Is this possible ? Yes - match="*" -- Andrew Welch http://andrewjwelch.com
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|