Altova Mailing List Archives

[xsl] selecting all text between two nodes

From: Lynn Alford <lynn.alford@---------->
Date: 9/7/2005 5:14:00 AM
I'm looking at transforming some xml  that can include linking information as

 <tx.p style="FD108">Lorem ipsum dolor <tx.hyperlink id="FD144" end="FD145">

host_name="" protocol="http"/>

            <locator_bookmark bookmark_name="title_31161"/>


          <tx.r style="FD113">penatibus et magnis </tx.r>

          <tx.hyperlink_end id="FD145" begin="FD144"/>

dis parturient montes, nascetur ridiculus mus.


        <tx.r style="FD206">

                    <tx.hyperlink id="FD213" end="FD214">

                      <locator_url file_name="/app/contact/index.cfm" 
host_name="" protocol="http"/>



                  <tx.r style="FD207">Student Administration 
(8781)<tx.hyperlink_end id="FD214" begin="FD213"/>


to be transformed to


penatibus et magnis </ulink>

<ulink url="" id="FD213">Student 
Administration (8781) </ulink>

which means I want to open a ulink - copy all text that appears between the 
<tx.hyperlink> and the <tx.hyperlink_end> then close the ulink.

I can get as far as

<ulink url="" id="FD213">


                  Student Administration (8781)<ulink_end/>

But that really isn't very good.

Lynn Alford                             Tel     (07) 47 81 6256
ITR                                     Email:  imla@xxxxxxxxxx
JCU QLD 4811 Australia          ICQ: 64096907
MSN: nicarra60@xxxxxxxxxxx              Y!: nicarra60


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.