🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.xml
Article #723

Odp: Ja wygenerowac link

#723
From: Igor Leyko
Date: Tue, 09 Jan 2001 23:29
29 lines
1425 bytes
> Jak tworzy sie linki w dokumentach XML (a może XLS).

Np. tak:
Jesli mamy w xml fragment

<pages>
<page>
  <item>Strona serwisu onet</item>
  <link>http://onet.pl</link>
</page>
<page>
  <item>Strona serwisu WP</item>
  <link>http://wp.pl</link>
</page>
<pages>

to fragment xsl

<xsl:for-each select="pages/page">
  <a> <xsl:attribute name="HREF"><xsl:value-of select="link">
  </xsl:value-of></xsl:attribute><xsl:value-of
select="item"></xsl:value-of></a><br/>
</xsl:for-each>


wygeneruje to co potrzeba


Igor Leyko
Technical Details
Message-ID: <93g6vi$38u$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!warszawa.rmf.pl!news.tpi.pl!news.onet.pl!not-for-mail
References: <93eppn$ml5$1@news.tpi.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!warszawa.rmf.pl!news.tpi.pl!news.onet.pl!not-for-mail
From: "Igor Leyko" <ileyko@poczta.onet.pl>
Newsgroups: pl.comp.xml
Subject: Odp: Ja wygenerowac link
Date: Wed, 10 Jan 2001 00:29:32 +0100
Organization: news.onet.pl
Lines: 34
Sender: [ileyko friko7.onet.pl]@poligrafia.ramtel.com.pl
Message-ID: <93g6vi$38u$1@news.onet.pl>
References: <93eppn$ml5$1@news.tpi.pl>
NNTP-Posting-Host: poligrafia.ramtel.com.pl
X-Trace: news.onet.pl 979083058 3358 213.25.207.12 (9 Jan 2001 23:30:58 GMT)
X-Complaints-To: abuse@onet.pl
NNTP-Posting-Date: 9 Jan 2001 23:30:58 GMT
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MSMail-Priority: Normal
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit