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

RE: How do you this XML document to this other one (DTD to D

Subject: RE: How do you this XML document to this other one (DTD to DTD)
From: Francois_Deza@xxxxxxxxxx
Date: Thu, 29 Apr 1999 17:38:12 +0100
configuredvalue

Michael,

here the input and output DTDs

the input DTD

describe forms specific fo two products: <AllInFormCreated> and
<TownToToTownFormCreated>

<AllInFormCreated>  corresponds to the AllIn product
<TownToToTownFormCreated>  corresponds to the TownToToTownForm product

There are  two types of customers:

Ind for Individual
and
Org for Organization


Those two forms have to be mapped to two generic forms

<IndCompleteOrderForm> and <OrgCompleteOrderForm>

<IndCompleteOrderForm>  corresponds to the Individualcustomer
<OrgCompleteOrderForm>  corresponds to the Organization customer


Another complexity is that the two products <AllInFormCreated> and
<TownToToTownFormCreated>  are soft coded
in the generic forms <IndCompleteOrderForm> and <OrgCompleteOrderForm>

There product specific characteristics (the elements in the input DTD
starting by SUBS_)
are soft coded using codes described in the template below.

Francois


<Services>
     <Service>
          <Characteristics>
               <Characteristic>
                    <ServiceCharacteristicCode></ServiceCharacteristicCode>
                    <ConfiguredValue></ConfiguredValue>
               </Characteristic>
               <Characteristic>
                    <ServiceCharacteristicCode></ServiceCharacteristicCode>
                    <ConfiguredValue></ConfiguredValue>
               </Characteristic>
          </Characteristics>
     </Service>
     <Service>
          <Characteristics>
               <Characteristic>
                    <ServiceCharacteristicCode></ServiceCharacteristicCode>
                    <ConfiguredValue></ConfiguredValue>
               </Characteristic>
               <Characteristic>
                    <ServiceCharacteristicCode></ServiceCharacteristicCode>
                    <ConfiguredValue></ConfiguredValue>
               </Characteristic>
          </Characteristics>
     </Service>
</Services>







Francois

(See attached file: POSFEEvents.dtd)   (See attached file: CCMEvents.dtd)




Kay Michael <Michael.Kay@xxxxxxx> on 04/29/99 12:29:50 PM

Please respond to xsl-list@xxxxxxxxxxxxxxxx

To:   "'xsl-list@xxxxxxxxxxxxxxxx'" <xsl-list@xxxxxxxxxxxxxxxx>
cc:    (bcc: Francois Deza/AMS/AMSINC)
Subject:  RE: How do you this XML document to this other one (DTD to DTD)




> How do you map this thru a XSL stylesheet
>
> Input XML:
>
> <PRODUCT_FORM>
>      <IND_SURNAME>Deza</IND_SURNAME>
>      <IND_BIRTHDATE>13-11-63</IND_BIRTHDATE>
>      <PRIMARY_ADDR_STREET_NAME>Am Seestern</PRIMARY_ADDR_STREET_NAME>
>      <PRIMARY_ADDR_STREET_NUMBER>444</PRIMARY_ADDR_STREET_NUMBER>
> </PRODUCT_FORM>
>
>
> to this [...]
>
with great ease, provided all the input documents have the form given. The
only challenge is in handling the variability among input documents. Show
us
your DTD.

Mike Kay


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




Attachment: POSFEEvents.dtd
Description: Binary data

Attachment: CCMEvents.dtd
Description: Binary data

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.