RE: [docbook-apps] RE: Test condition to check if the current node is the first child

2010-03-01 Thread Rowland, Larry
: [docbook-apps] RE: Test condition to check if the current node is the first child Larry, Thanks for the suggestion. But it does not work if white spaces exist between and such As ... Sherwood -Original Message- From: Rowland, Larry [mailto:larry.rowl...@hp.com] Sent

RE: [docbook-apps] RE: Test condition to check if the current node is the first child

2010-03-01 Thread Sherwood Hu
-open.org Subject: [docbook-apps] RE: Test condition to check if the current node is the first child You might try testing for there being no preceding sibling: preceding-sibling::node() = '' Regards, Larry Rowland From: Sherwood Hu [ma

[docbook-apps] RE: Test condition to check if the current node is the first child

2010-02-24 Thread Rowland, Larry
You might try testing for there being no preceding sibling: preceding-sibling::node() = '' Regards, Larry Rowland From: Sherwood Hu [mailto:sherw...@morovia.com] Sent: Wednesday, February 24, 2010 1:26 PM To: docbook-apps@lists.oasis-open.org Subject: [docbo