|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: Re: WML input problem
Subject: Re: Re: WML input problem
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Tue, 09 Jul 2002 10:49:39 +0200
|
There is a second possibility for Muenchian Method.
Instead of
"generate-id() = generate-id(key('radios', @name))"
write
"count( . | key('radios', @name)[1] ) = 1"
It works in the same way. The statement is only true if the count of .
(the current node) "united" with the first node of the group is 1.
Otherwise you have to use the preceding-sibling-axis, which is less
efficient in general.
Regards,
Joerg
ashu t wrote:
thanks a lot that code must have run on your machine .
but it is not running on my machine the reason could be that i am using
sablotron processor of php for transformation and i found this in the
documentation of sablotron at
http://www.gingerall.com/charlie/ga/act/gadoc.act?pg=sablot
*
5.16 Built-in functions
There is only one function from the standard function library which
remains unimplemented:
id() (need for a DTD or schema),
Functions key() and format-number() are available since the 0.70.
As for the implemented fuctions, the following is a list of differences
from the spec:
document() only accepts one argument, always getting the base URI from
the stylesheet URI.
generate-id() might fail to generate unique identifiers when several
input documents are present (giving the same id to nodes from different
documents). *
i think generate-id () is the reason it is not working.
then how can i do it with sablotron i can not change the processor.is
there any way to do that?
ashu
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

| Current Thread |
ashu t - Tue, 9 Jul 2002 02:58:16 -0400 (EDT)
- Joerg Heinicke - Tue, 9 Jul 2002 04:49:41 -0400 (EDT) <=
ashu t - Wed, 10 Jul 2002 11:54:39 -0400 (EDT)
ashu t - Fri, 12 Jul 2002 04:58:59 -0400 (EDT)
|
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|