Subject: Re: [xsl] Need to output an opening or closing tag by itself From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 25 Jun 2008 10:08:32 -0400 |
<xsl:template match="e"> <xsl:choose> <xsl:when test="@t ='a'"> <e> </xsl:when> <xsl:when test="@t ='b'"> </e> </xsl:when> <xsl:otherwise> <xsl:message terminate="yes"> Unexpected data in attribute t. </xsl:message> </xsl:otherwise> </xsl:choose> </xsl:template>
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Need to output an opening, Pankaj Chaturvedi | Thread | RE: [xsl] Need to output an opening, Hofman, Peter |
Re: AW: [xsl] XML to PDF (XSL:FO), Wendell Piez | Date | [xsl] XSL 2.0 Requirements, survey , Tony Graham |
Month |