🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.xml
Article #7882

string do noda

#7882
From: croofec
Date: Fri, 07 Oct 2005 09:44
21 lines
1121 bytes
witam,

mam takiego xmla
<test>
	<test1>aaaa</test1>
	<test2 name="/test/test1"/>
</test>


teraz w xsl chcę zrobić tak aby robiąć:

<xsl:variable name="VAR" select="/test/test2/@name"/>
<xsl:value-of select="$VAR"/>

dostać wartość węzła /test/test1 a nie string '/test/test1'.
Da się to zrobić ?

-- 
Pozdrawiam,
Marcin Łućko
http:\\www.croofec.net
Technical Details
Message-ID: <di5g14$2a2$1@opal.icpnet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.icp.pl!news.icp.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.icp.pl!news.icp.pl!not-for-mail
From: croofec <spam@wytnij.croofec.net>
Newsgroups: pl.comp.xml
Subject: string do noda
Date: Fri, 07 Oct 2005 11:44:31 +0200
Organization: ICP News Server
Lines: 21
Message-ID: <di5g14$2a2$1@opal.icpnet.pl>
Reply-To: spam@wytnij.croofec.net
NNTP-Posting-Host: 85.128.106.100
Mime-Version: 1.0
X-Trace: opal.icpnet.pl 1128678245 2370 85.128.106.100 (7 Oct 2005 09:44:05 GMT)
X-Complaints-To: abuse@icpnet.pl
NNTP-Posting-Date: Fri, 7 Oct 2005 09:44:05 +0000 (UTC)
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: pl, en-us, en
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit