🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: nl.comp.programmeren
Article #56

Re: xml naar xml transformeren

#56
From: Suzan Foster
Date: Thu, 28 Feb 2008 10:03
19 lines
1646 bytes
Suzan Foster schreef:

Darn, ik blijf mezelf verbeteren..

...
  <xsl:template match="B[@N='BirthDate']">
    <xsl:param name="date" select="substring-before(@V, ' ')"/>
    <xsl:param name="year" select="substring-before($date, '-')"/>
    <xsl:param name="month-and-day" select="substring-after($date, '-')"/>
    <xsl:param name="month" select="substring-before($month-and-day, '-')"/>
    <xsl:param name="day" select="substring-after($month-and-day, '-')"/>
    <DateOfBirth>
        <xsl:value-of select="concat($day, '/', $month, '/', $year)"/>
    </DateOfBirth>
  </xsl:template>
...


Groeten, Su.
Technical Details
Message-ID: <47c686dd$0$14358$e4fe514c@news.xs4all.nl>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!transit4.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
References: <XWfxj.208175$TA1.37880@newsfet08.ams> <47c6843b$0$14347$e4fe514c@news.xs4all.nl>

Show Full Headers
Complete Article Headers
X-Google-Thread: 107324,deb01c5868a6cdc8
X-Google-Thread: fcea4,deb01c5868a6cdc8
X-Google-Attributes: gid107324,gidfcea4,public,usenet
X-Google-Language: DUTCH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!transit4.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Date: Thu, 28 Feb 2008 11:03:14 +0100
From: Suzan Foster <su@islief.nl>
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
MIME-Version: 1.0
Newsgroups: nl.comp.programmeren,be.comp.programming
Subject: Re: xml naar xml transformeren
References: <XWfxj.208175$TA1.37880@newsfet08.ams> <47c6843b$0$14347$e4fe514c@news.xs4all.nl>
In-Reply-To: <47c6843b$0$14347$e4fe514c@news.xs4all.nl>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 19
Message-ID: <47c686dd$0$14358$e4fe514c@news.xs4all.nl>
NNTP-Posting-Host: 193.173.220.65
X-Trace: 1204192989 news.xs4all.nl 14358 foz/[::ffff:193.173.220.65]:60215
X-Complaints-To: abuse@xs4all.nl