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

Re: Fw: Replacing values in the input file with values

Subject: Re: Fw: Replacing values in the input file with values from a second file
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Tue, 07 Apr 2009 19:00:18 +0200
Re: Fw:  Replacing values in the input file with values
Hermann Stamm-Wilbrandt wrote:

but the Bananas are missing ...

Yes, but if you look at the posted XML below then you see


<topic id="A">
   <title>Menus</title>
   <topic id="AB">
      <title>Menu AB Details</title>
      <body>
         <p id="AB1">
            <uicontrol conref="AB1a"/>
         </p>
         <p id="AB2">
            <uicontrol conref="AB2a"/>
               <uicontrol conref="AB2b"/>

that here we have conref values 'AB1a', 'AB2a', and 'AB2b' while the second file



<topic id ="navigation-labels">
   <title>Navigation Labels</title>
   <body>
      <p><uicontrol id="AB1a">Oranges</uicontrol></p>
      <p><uicontrol id="AB2a">Apples</uicontrol></p>
      <p><uicontrol id="AB3b">Bananas</uicontrol></p>

has id values 'AB1a', 'AB2a', and 'AB3b'. So for the conref value 'AB2b' there is no matching id.


--

	Martin Honnen
	http://JavaScript.FAQTs.com/

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-2007 All Rights Reserved.