Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

read out single characters of attributes

0 views
Skip to first unread message

Tobias Müller

unread,
Dec 5, 2001, 3:10:54 AM12/5/01
to
Hello, I have some problems with Formats of time:

In this format my OUTPUT file should be:

<imml version="2.0" supplier="Softpag" time="20010806120901">
</imml>

But the INPUT file has the format as follows:

<BMF Sender="MBT-DataManager" TimeStamp="2001-08-06T12:09:01+01:00">
</BMF>

Is there any possibility to extract single characters of an attribute an
give them another oder?

Thakx for your answer, would be very neccesary for me

Tobias

VZ

unread,
Dec 5, 2001, 8:58:00 AM12/5/01
to
<xsl:template match="BMF">
<imml time="{translate(substring-before(@TimeStamp,'+'),'-T:','')}" />
</xsl:template>

"Tobias Müller" <Tobias....@ppi.de> wrote in message
news:3c0dd616$0$183$4d4e...@read.news.de.uu.net...

0 new messages