Subject: Re: Problems with XSL, XML code From: "T.Pospisek's MailLists" <tpo2@xxxxxxx> Date: Tue, 3 Oct 2000 17:56:03 +0200 (CEST) |
On Tue, 3 Oct 2000, Marcos Coelho wrote: > Hi My Friends, > I felt I was not very clear, so I made an Webpage where I explainedmy > problem better I wish. > There I put my XML, XSL, and the OUT PUTS files which I want and what I > got! > The address is > http://www.geocities.com/marcos_coelho/xml/doubt.htm From the page: you have > <CONTEUDO>A marca de refrigerantes Coca-Cola fechou um contrato de > aproximadamente US$ 1 bilhão como Comitê </NOTICIAS> instead of: <CONTEUDO>A marca de refrigerantes Coca-Cola fechou um contrato de aproximadamente US$ 1 bilhão com o Comitê </CONTENUDO></NOTICIAS> Page: > <xsl:value-of select="COSMO/NOTICAS"> > <xsl:template match="COSMO"> IMO that should be the other way round: <xsl:template match="COSMO"> ... <xsl:for-each select="NOTICAS"> ... </xsl:for-each> </xsl:value-of> I think you don't need the first: > <xsl:value-of select="COSMO/NOTICAS"> *t ---------------------------------------------------------------------------- Tomas Pospisek SourcePole - Linux & Open Source Solutions Elestastrasse 18, 7310 Bad Ragaz, Switzerland Tel: +41 (81) 330 77 11 ---------------------------------------------------------------------------- XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Problems with XSL, XML code, Evan Lenz | Thread | Problems with XSL, XML code, Marcos Coelho |
Re: can't use xsl:variable or xsl:s, RSuiter | Date | Re: Selecting all descendants with , Wendell Piez |
Month |