[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Transforming xml to tex
Ryan Graham wrote:
substring(normalize-space(following-sibling::node()[1][self::text()]), 1, 1) Thanks, Ryan, this pinpoints a flaw in my attempt to answer the OP's request: I test for any text sibling. Your code tests for the first sibling being a text-node or not. Michael, if you are about to use my code, don't forget to change my following-sibling part with Ryan's one ;)
|
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
|