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

Re: RE: Using keys to build a tree represented in XMI

Subject: Re: RE: Using keys to build a tree represented in XMI
From: "Christian Solisch" <christian.solisch@xxxxxx>
Date: Sat, 31 Dec 2005 11:27:34 +0100 (MET)
Hello Michael,

thanks for your help! You are absolutely right. I posted the corrected
solution in reply to darkman4s mail.

As already mentioned, I modeled a snapshot of a file system (directories and
files) in UML. The model was exported to XMI and now I want to extract the
path for target xml files. These files will be filled with information out
of other UML diagrams (also coded in the XMI file).


----- Original Message -----
From: mike@xxxxxxxxxxxx <Michael Kay>
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Date: 30.12.2005 19:17:35
Subject: RE:  Using keys to build a tree represented in XMI

> I'm not sure exactly what you're trying to do here, but perhaps I can see
> what you are doing wrong.
> You have defined this key:
> <xsl:key name="aggregation_by_classReference"
> match="UML:Association.connection"
> so this expression:
> key('aggregation_by_classReference',./@xmi.id)
> will return zero or more UML:Association.connection elements, and this
> expression:
> key('aggregation_by_classReference',./@xmi.id)/@xmi.id
> will return their @xmi.id attributes.
> But there is only one UML:Association.connection element in your sample
> data, and it does not have an @xmi.id attribute.
> Michael Kay
> http://www.saxonica.com/
> > -----Original Message-----
> > From: Christian Solisch [mailto:christian.solisch@xxxxxx] 
> > Sent: 28 December 2005 18:32
> > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > Subject:  Using keys to build a tree represented in XMI
> > > > Hi community,
> > > > I am new to XSLT and actually trying to use it for a 
> > transformation of a XMI
> > file.


10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse f|r Mail, Message, More +++

Current Thread


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.
First Name
Last Name
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.