|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] how to zap content between sibling elements?
Hello all, I have a few siblings that I need to group together like this: original: <p> <!-- maybe some other element other than 'k' --> foo <k>A</k> bar <k>B</k> baz <k>C</k> quux and more stuff </p> goal: <p> foo <grp><k>A</k><k>B</k><k>C</k></grp> quux and more stuff </p> I can do the grouping but I am having difficulties zapping 'bar' and 'baz' between <k>'s. Currently I get: <p> foo <grp><k>A</k><k>B</k><k>C</k></grp> bar baz quux and more stuff </p> I think I need a condition to my default copying template to handle the case of "when in-between <k>'s zap the content". What combination of axes and predicates can I use to express this condition? Any hint or suggestion would be appreciated. thanks, -jay ===== jhan@xxxxxxx __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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








