xsl-list
[Top] [All Lists]

Re: [xsl] conditional <sql:column> ?!

2008-09-23 08:15:30


I guess in that case you have to use
   <xsl:choose>
     <xsl:when 

which would look a bit less scary if you did

<xsl:for-each
select="/ris:result/ris:data/ris:risdokument/ris:metadaten">
<xsl:choose>
  <xsl:when test="ris:technisch/ris:organ='OGH' and 
ris:judikatur/ris:doktyp='T'">
<sql:column name="DOKNR" 
select="normalize-space(replace(ris:technisch/ris:id,'_','/'))"/>
<sql:column name="Datum" 
select="normalize-space(replace(ris:judikatur/ris:datum, '-', ''))"/>
...

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--