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 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: How do you this XML document to, Francois_Deza | Thread | < and >, Sharmila Pandith |
Re: Charset conversions, Rick Geimer | Date | small image "Powered by XML", Duane Nickull |
Month |