Subject: RE: [xsl] FW: Dealing with mixed content From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Wed, 16 Feb 2005 15:08:24 -0000 |
> My question was more to do with the pattern Joris used, i.e. > generate-id((.. > | preceding-sibling::hr)[last()]). > > I understand the generate-id() function but was not entirely > sure what the > pattern itself was doing. > It's an expression not a pattern; and it's basically indexing each element by the identity of the most recent hr element. That means that given an hr element, you can find all the elements for which that is the most recent hr, i.e. all the elements that follow that hr with no intervening hr. Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] FW: Dealing with mixed co, David Carlisle | Thread | [xsl] EXSLT implementation in .NET, Karl Stubsjoen |
Re: [xsl] FW: Dealing with mixed co, David Carlisle | Date | Re: [xsl] Replacing character entit, António Mota |
Month |