Subject: Re: [xsl] default template ? From: Andrew Welch <andrew.j.welch@xxxxxxxxx> Date: Mon, 27 Sep 2010 16:45:03 +0100 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] default template ?, Fabien Tillier | Thread | RE: [xsl] default template ?, Fabien Tillier |
RE: [xsl] default template ?, Ludwig, Michael | Date | RE: [xsl] default template ?, Fabien Tillier |
Month |