AW: template doesn't match

2003-04-10 Thread Todtenhaupt, Susann
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] 
 








Re: AW: template doesn't match

2003-04-10 Thread Chris Bowditch
From: Todtenhaupt, Susann [EMAIL PROTECTED]
my first template that embeds fo:root matches the root node of my xml-file
in other words form.
This is a pure XSLT question and would receive better answers on a XSLT 
list.

So you have a template that matches the root element form, but does that 
have an xsl:apply-templates to ensure child elements of the root node are 
also processed?

_
Hotmail messages direct to your mobile phone http://www.msn.co.uk/mobile
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


AW: AW: template doesn't match

2003-04-10 Thread Todtenhaupt, Susann
I've solved this problem... :-( I turned the lower case letters into
capital letters (of the word ncr) and then it worked. But I can't really
retrace why...

-Ursprüngliche Nachricht-
Von: Chris Bowditch [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 10. April 2003 12:17
An: [EMAIL PROTECTED]
Betreff: Re: AW: template doesn't match

From: Todtenhaupt, Susann [EMAIL PROTECTED]

my first template that embeds fo:root matches the root node of my xml-file
in other words form.


This is a pure XSLT question and would receive better answers on a XSLT 
list.

So you have a template that matches the root element form, but does that 
have an xsl:apply-templates to ensure child elements of the root node are 
also processed?

_
Hotmail messages direct to your mobile phone http://www.msn.co.uk/mobile


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AW: AW: template doesn't match

2003-04-10 Thread J.Pietschmann
Todtenhaupt, Susann wrote:
I've solved this problem... :-( I turned the lower case letters into
capital letters (of the word ncr) and then it worked. But I can't really
retrace why...
XML is case sensitive.
J.Pietschmann

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]