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

Re: extracting sequences

Subject: Re: extracting sequences
From: Saverio Perugini <sperugin@xxxxxxxxxxxxxxxx>
Date: Thu, 19 Feb 2004 09:33:23 -0500 (EST)
saverio perugini
On Thu, 19 Feb 2004, Dimitre Novatchev wrote:

> I don't see any graph described in your xml document. 

> Seems quite straightforward to me -- especially if you explain the problem
> properly.
> 
> Could you draw the graph and explain how its vertices and arcs are
> specified in your xml document? What is the meaning of a "crosslink"?

Apologies for not being clear in my original post.

The following is a textual depiction of the dag (directed acyclic graph)
modeled by my data, where numbers represent nodes, letters represent
link labels, and indentation models parent-child relationships.

1
 -a- 2
      -d- 5
      -e- 6

 -b- 3
      -g- 7
      -f- 6
 -c- 4
      -h- 7

In the above graph, links f and h are crosslinks as their target nodes
already exist in the graph.  They are like symbolic links (e.g., links
prefaced which the '@' character in the Yahoo! taxonomy).  In other
words, leaf nodes 6 and 7 are not in the graph twice. Rather they just
each have two in-coming edges (and two parents) while every other node,
with the exception of the root (node 1), has only 1 in-coming edge (and
thus only one parent).  In my data crosslinks are modeled with the
<crosslink> tag while all other links are modeled with the <link> tag.

It can be seen that the paths through this dag (as I have defined path
in my original post) are the following:

--
a d
a e
b g
b f
c h
--

and this is what I'd like to extract from the XML data.

I hope that helps.

Thank You and Kind Regards,
Saverio

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.