|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: FW: Dealing with mixed content
> 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/
|
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
|

Cart








