|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Merging nodes to process with FO
I've been using XSLT and FO for a while, but I didn't really learn much
in depth about either.
I'm trying to take data from two nodes to create a table in FO. Here would be sample data: <unit> <id>15</id> <name>1</name> </unit> <unit> <id>16</id> <name>2</name> </unit> <occupant> <name>Smith</name> <unitid>15></name> </occupant> <occupant> <name>Jones</name> <unitid>15></name> </occupant> I would then want rows based on this data, something like this: 1 | Smith 1 | Jones 2 | Vacant My problem is I can't do a for-each on either the unit or the occupant; if I do it on the unit, I'll only get one row for unit 1, and if I do it on the occupant, I won't get any rows for 2. I also want to be have it sorted by unit, so I wouldn't be able to do a for-each on all occupants, then another on all units that don't have an occupant. Any advice on doing something like this? Thanks in advance, Russell Levy
|
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








