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

Re: Connecting the Source and Destination fields

Subject: Re: Connecting the Source and Destination fields
From: Ronan Klyne <ronan.klyne@xxxxxxxxxxx>
Date: Wed, 29 Aug 2007 13:20:18 +0100
Re:  Connecting the Source and Destination fields
Yaswanth wrote:
> Hi Ronan, 
> Thanks for the explanation. 
> Now itbs clear regarding that expression.
> 
> I am facing problem
> For the below input 
> 
> <connection destination="block.0/event.1" source="block.0/event.0"/> 
> <connection destination="block.0/event.2" source="block.0/event.1"/> 
> <connection destination="block.1/event.4" source="block.1/event.3"/> 
> <connection destination="block.1/event.5" source="block.1/event.4"/>
> <connection destination="block.1" source="block.0"/>
> 
> For now I get output as
> 
> Line 1 :  block.0/event.0 -> block.0/event.1 - > block.0/event.2
> Line 2 :  block.1/event.3 -> block.1/event.4 - > block.1/event.5
> 
> Line 3 :  block.0 -> block.1
> 
> -------------------
> 
> Here in line 3 how can I get (Line:1) -> (Line:2)
> 
> i.e.   
> 
> (block.0/event.0 -> block.0/event.1 - > block.0/event.2)               
> ->  
> (block.1/event.3 -> block.1/event.4 - > block.1/event.5)
> 
> block.0 -> block.1 means 
> All events in block.0 followed by  all events in block.1
> --------------------

How should the stylesheet know that the 'block.x' part of the string is
special and to be treated in this way? Is the '/' separator special?
Should all lines be joined in this manner or should it be governed by
line 3?

	# r

-- 
Ronan Klyne
Business Collaborator Developer
Tel: +44 (0)870 163 2555
ronan.klyne@xxxxxxxxxxx
www.groupbc.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-2013 All Rights Reserved.