Subject:XML-to-XML..one to many relation Author:. . Date:24 Jan 2003 10:01 AM
My source XML contains a single element labelled 'Party' with an attribute of 'PartyType' (PartyType = 'Submitting' , 'Receiving', etc.)...my destination XML has distinct elements which correspond to the 'Party' element but are explicitly labelled, e.g., 'SubmittingParty', 'ReceivingParty', etc....is there a way to graphically relate the one to many relationship or must one insert conditional logic into the XSL?
Subject:RE: XML-to-XML..one to many relation Author:(Deleted User) Date:24 Jan 2003 10:21 AM
Hi,
we have seen a couple of users asking for this before. it is a limitation of
current version of mapper which support one-one direct mapping only. to do
one-to-many mapping like your case you have to go to source and manully
change the code.
we have a PCR for this fature in our to-do-list.
song.
-----Original Message-----
From: stylus-studio-tech Listmanager [mailto:listmanager]
Sent: Friday, January 24, 2003 10:20 AM
To: Recipients of 'stylus-studio-tech' suppressed
Subject: XML-to-XML..one to many relation
From: ". ."
My source XML contains a single element labelled 'Party' with an attribute
of 'PartyType' (PartyType = 'Submitting' , 'Receiving', etc.)...my
destination XML has distinct elements which correspond to the 'Party'
element but are explicitly labelled, e.g., 'SubmittingParty',
'ReceivingParty', etc....is there a way to graphically relate the one to
many relationship or must one insert conditional logic into the XSL?
To reply: mailto:stylus-studio-tech.6230@edn.exln.com
To start a new topic: mailto:stylus-studio-tech@edn.exln.com
To login: http://edn.exln.com/~SSDN
Subject:RE: XML-to-XML..one to many relation Author:Minollo I. Date:27 Jan 2003 09:38 PM
>...
>Do we have any approximate timeframe as to when we might expect Stylus to
>have GUI enabled conditional mapping feature.
We don't have a timeframe for this feature.
We are currently working on an XQuery based mapper tool; it is more likely
that you will find conditional mapping in the XQuery tool sooner than in
the XSLT one.
>Does somebody have any ideas rgd how this can be done using extension
>functions.
Unless you put all (most of) the mapping logics in the extension functions,
I don't see how that could be done.