xsl-list
[Top] [All Lists]

RE: [xsl] Connecting the Source and Destination fields

2007-08-29 05:37:07


Hi 

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?

Let me explain clearly

Basically a block which will have events connected to each other  and that
block can connect to the another block which will have it's own set of
events connected.

<connection destination="block.1" source="block.0"/>
From this we understand that one block is followed by another block. 

But in the output I don't want to mention block.0 -> block.1 . 
Instead I need to have the event sequence in block.0 -> event sequence in
block.1

I think this will give a better idea about the problem.

Thanks,
Yaswanth 
-----Original Message-----
From: Ronan Klyne [mailto:ronan(_dot_)klyne(_at_)groupbc(_dot_)com] 
Sent: Wednesday, August 29, 2007 5:50 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Connecting the Source and Destination fields

Yaswanth wrote:
Hi Ronan, 
Thanks for the explanation. 
Now it's 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(_dot_)klyne(_at_)groupbc(_dot_)com
www.groupbc.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--