🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.xml
Article #7139

##XMLSpy 5�Ƿ�֧��<exsl:document> ?��λ��Ϻ������ӣ�##

#7139
From: 1111
Date: Thu, 04 Sep 2003 09:12
54 lines
2723 bytes
 
��www.esxlt.org������all-exslt.zip����ѹ��
C:\EXSLT����Ŀ¼��data, dyn, exslt, func, ...�ȡ�
 
����how to����<xsl:stylesheet>�м������ԣ�
xmlns:exsl="http://exslt.org/common"
extension-element-prefixes="exsl"
 
Ȼ�����
   <xsl:import href="C:\EXSLT\exsl\exsl.xsl" />
 
���DZ������
�ļ�exsl.xsl��
  <import href="node-set/exsl.node-set.xsl"/>
һ����?
 
C:\EXSLT\exsl\node-set\exsl.node-set.xsl�Ҳ�����
 
 


<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
 xmlns:dwyf="http://192.168.5.6/PrgGenHello"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 xmlns:exsl="http://exslt.org/common"
 extension-element-prefixes="exsl" >
        <xsl:output method="text" version="1.0" encoding="UTF-8" indent="yes"/>
        <xsl:import href="C:\EXSLT\exsl\exsl.xsl" />
        <xsl:template match="/">
                <xsl:for-each select="//dwyf:friend">
                        <xsl:apply-templates select="."/>
                </xsl:for-each>
        </xsl:template>
        <xsl:template match="dwyf:friend">
                <xsl:value-of select="."/>
                <xsl:variable name="filename" select=". "/>
                <exsl:document href="concat(., '.txt')">
                        <xsl:text>name   </xsl:text>                    
                        <xsl:value-of select="."/>
                        <xsl:text>&#x0D;</xsl:text>
                        <xsl:text>tel   </xsl:text>                     
                        <xsl:value-of select="./@phone"/>
                </exsl:document>
        </xsl:template>
</xsl:stylesheet>
 
 
��λ��Ϻָ���Խ򣿸�����ӣ�лл��
 

--

�� ��Դ:��BBS ˮľ�廪վ smth.org��[FROM: 210.25.133.3]
Technical Details
Message-ID: <000000$COY@smth.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.media.kyoto-u.ac.jp!newsgate.cuhk.edu.hk!news.zixia.net!maily.cic.tsinghua.edu.cn!SMTH

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: 115571,7bf3ce048995c8e5,start
X-Google-Attributes: gid115571,public
X-Google-ArrivalTime: 2003-09-04 02:16:21 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.media.kyoto-u.ac.jp!newsgate.cuhk.edu.hk!news.zixia.net!maily.cic.tsinghua.edu.cn!SMTH
From: warnard@smth.org (1111)
Newsgroups: cn.bbs.comp.xml
Subject: ##XMLSpy 5�Ƿ�֧��<exsl:document> ?��λ��Ϻ������ӣ�##
Date: 04 Sep 2003 09:12:06 GMT
Organization: BBS ˮľ�廪վ
Message-ID: <000000$COY@smth.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: XML/I/M.1062666714.O0
Lines: 54