ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xsl-list
xsl-list
Re: RE: [xsl] Using keys to build a tree represented in XMI
by Christian Solisch other posts by this author
Dec 31 2005 2:28AM messages near this date
Re: RE: [xsl] Using keys to build a tree represented in XMI | [xsl] Copy all elemnts but one, not working
& XSLT Hello Michael,

thanks for your help! You are absolutely right. I posted the corrected
solution in reply to darkman´s 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).

Christian

----- Original Message -----
From: mike@[...].com <Michael Kay> 
To: xsl-list@[...].com
Date: 30.12.2005 19:17:35
Subject: RE: [xsl] 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@[...].de] 
>  > Sent: 28 December 2005 18:32
>  > To: xsl-list@[...].com
>  > Subject: [xsl] 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 +++

--~------------------------------------------------------------------
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@[...].com> 
--~--
Thread:
Christian Solisch
Michael Kay
Florent Georges
Christian Solisch
Christian Solisch

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved