[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Transforming xml to tex

Subject: Re: Transforming xml to tex
From: Michael Obermeier <michael.obermeier@xxxxxxxxxxxxxxx>
Date: Thu, 17 Jul 2008 08:39:47 +0200
Re:  Transforming xml to tex
Hello,

many thanks Abel and Ryan for your solutions. It works. It was not clear for
me that I could use following-sibling.

Next time I will be more chatty and describe the problem with all aspects as
Ryan mentioned.

Cheers

Michael

Abel Braaksma <abel.online@xxxxxxxxx> schrieb:
>

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 ;)
>
>
>
>
--
Michael Obermeier
UNICO Media GmbH
Softwareentwicklung & Support
Aldringenstra_e 4

80639 M|nchen
UNICO Media GmbH
Geschdftsf|hrer Christian Fuchs
Amtsgericht HRB 116178
Sitz der Gesellschaft ist M|nchen


Tel. +49-(0)89-1893533-21
Fax  +49-(0)89-1893533-11

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.