Title: RE: template doesn't match
hello hans!
my first template that
embeds fo:root matches the root node of my xml-file in other words form.
the third template works,
xsl:template
match=[EMAIL PROTECTED]'foo']
fo:table-cell
fo:block
padding=1pt
xsl:value-ofselect=@Name/
/fo:block
fo:block
padding-top=3pt padding-left=1pt
xsl:value-of
select=value/
/fo:block
/fo:table-cell
/xsl:template
but the processor doesn't match my
second one below.
xsl:template
match=ncr
fo:table-row
xsl:apply-templates/
/fo:
table-row
/xsl:template
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 10. April
2003 10:10
An: [EMAIL PROTECTED]
Betreff: RE: template doesn't
match
Could it be that you don't have a template to match
the form elemant?
Regards,
Hans Kappert
Co-maker B.V.
Postbus 24006
2490 AA 's Gravenhage
www.co-maker.nl
tel: +31(0)70 - 317 80 40
fax: +31(0)70 - 317 80 42
PLEASE NOTE:
The information contained in this
electronic mail message is
privileged and confidential, and is
intended only for use of the addressee. If you are not the intended recipient,
you are hereby notified that any disclosure, reproduction, distribution or
other use of this communication is strictly prohibited.
If you have received this communication in error,
please notify the sender by reply transmission and delete the message without
copying or disclosing it.
-Original Message-
From: Todtenhaupt, Susann
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 10, 2003
10:09
To: '[EMAIL PROTECTED]'
Subject: template doesn't
match
Hello @ all!
My xml-file is build as
following:
form
ncr
attribute
Name=foo
valuefoo1/value
/attribute
...
/ncr
/form
in my stylesheet I've created
templates like this:
xsl:template match=ncr
fo:table-row
xsl:apply-templates/
/fo: table-row
/xsl:template
xsl:template match=[EMAIL PROTECTED]'foo']
fo:table-cell
fo:block
padding=1pt
xsl:value-ofselect=@Name/
/fo:block
fo:block padding-top=3pt padding-left=1pt
xsl:value-of
select=value/
/fo:block
/fo:table-cell
/xsl:template
in fo:root I've created a
page-master and a sequence with a
table (plus
table-column and table-body).
My problem: the template that
matches the node ncr gets never
called. Has
anybody an idea?
Thanx in advance!
suse
-
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands,
e-mail: [EMAIL PROTECTED]