[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Problems with XSL, XML code

Subject: Re: Problems with XSL, XML code
From: "T.Pospisek's MailLists" <tpo2@xxxxxxx>
Date: Tue, 3 Oct 2000 17:56:03 +0200 (CEST)
pospisek
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.