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

Re: xsl transormation from flat tree to hierarchical t

Subject: Re: xsl transormation from flat tree to hierarchical tree
From: Andreas Volz <lists@xxxxxxxxxxxxx>
Date: Sat, 10 Mar 2012 09:14:50 +0100
Re:  xsl transormation from flat tree to hierarchical t
Am Sat, 3 Mar 2012 11:21:09 +0100 schrieb Andreas Volz:

> Hello,
> 
> I've a list with a flat tree that has a parent attribute to save
> child/father relations.
> 
> http://stateval.googlecode.com/svn/trunk/stateval/test/features/ft2.smxml
> 
> I just like to transform this state machine graph in DotML format to
> display it as SVG:
> 
> http://martin-loetzsch.de/DOTML/record.html
> 
> I've yet a somehow working version:
> 
> http://stateval.googlecode.com/svn/trunk/stateval/doc/graph_gen/stateval_dotml.xsl
> 
> But it has only a flat list and shows transitions between them. I
> would like to handle CompoundStates as records in DotML. So I need
> some transformation from my flat tree into that hierarchical tree
> from DotML record.
> 
> I've no idea how to do this in xsl. I'm using xsltproc in Ubuntu
> 11.10:
> 
> > xsltproc --version
> Using libxml 20708, libxslt 10126 and libexslt 815
> xsltproc was compiled against libxml 20708, libxslt 10126 and libexslt
> 815 libxslt 10126 was compiled against libxml 20708
> libexslt 815 was compiled against libxml 20708
> 
> As fas as I know it supports only XSLT 1.0.
> 
> Could you help me?

No hints? Did I ask in a wrong way? Or isn't this possible?

regards
	Andreas 


-- 
Technical Blog <http://andreasvolz.wordpress.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.