# HG changeset patch # User Patrick PIERRE # Date 1411806832 -7200 # Node ID 39a47c8c07158fbb73e24be182f74d203053dcc1 # Parent 847ced42d0b9677321ae9a2c0ecf0a821e44102c Ajout d'un exemple ONIX diff -r 847ced42d0b9 -r 39a47c8c0715 Xml/Onix/les_miserables.xml --- /dev/null jeu. janv. 01 00:00:00 1970 +0000 +++ b/Xml/Onix/les_miserables.xml sam. sept. 27 10:33:52 2014 +0200 @@ -0,0 +1,132 @@ +<?xml version="1.0" encoding="utf-8"?> +<ONIXMessage xmlns="http://ns.editeur.org/onix/3.0/reference" release="3.0"> + <Header> + <Sender> + <SenderName>Prismallia</SenderName> + <ContactName>Prismallia</ContactName> + <EmailAddress>devel@prismallia.fr</EmailAddress> + </Sender> + <SentDateTime>20140927T102533</SentDateTime> + <DefaultLanguageOfText>fre</DefaultLanguageOfText> + <DefaultCurrencyCode>EUR</DefaultCurrencyCode> + </Header> + <!-- ==================================================================== --> + <Product> + <RecordReference>les_miserables-epub</RecordReference> + <NotificationType>03</NotificationType> + <ProductIdentifier> + <ProductIDType>01</ProductIDType> + <IDValue>les_miserables-epub</IDValue> + </ProductIdentifier> + <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> + <DescriptiveDetail> + <ProductComposition>00</ProductComposition> + <ProductForm>EA</ProductForm> + <ProductFormDetail>E101</ProductFormDetail> + <ProductFormDetail>E200</ProductFormDetail> + <EpubTechnicalProtection>00</EpubTechnicalProtection> + <EpubUsageConstraint> + <EpubUsageType>07</EpubUsageType> + <EpubUsageStatus>01</EpubUsageStatus> + </EpubUsageConstraint> + <NoCollection/> + <TitleDetail> + <TitleType>01</TitleType> + <TitleElement> + <TitleElementLevel>01</TitleElementLevel> + <TitleText>Les Misérables</TitleText> + </TitleElement> + </TitleDetail> + <Contributor> + <SequenceNumber>1</SequenceNumber> + <ContributorRole>A01</ContributorRole> + <PersonName>Victor HUGO</PersonName> + <PersonNameInverted>HUGO, Victor</PersonNameInverted> + </Contributor> + <Contributor> + <SequenceNumber>2</SequenceNumber> + <ContributorRole>B01</ContributorRole> + <PersonName>Prismallia</PersonName> + </Contributor> + <Language> + <LanguageRole>01</LanguageRole> + <LanguageCode>fre</LanguageCode> + </Language> + <Subject> + <SubjectSchemeIdentifier>20</SubjectSchemeIdentifier> + <SubjectHeadingText>Littérature</SubjectHeadingText> + </Subject> + </DescriptiveDetail> + <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> + <CollateralDetail> + <SupportingResource> + <ResourceContentType>01</ResourceContentType> + <ContentAudience>00</ContentAudience> + <ResourceMode>03</ResourceMode> + <ResourceFeature> + <ResourceFeatureType>02</ResourceFeatureType> + <FeatureValue>Couverture</FeatureValue> + </ResourceFeature> + <ResourceVersion> + <ResourceForm>02</ResourceForm> + <ResourceVersionFeature> + <ResourceVersionFeatureType>04</ResourceVersionFeatureType> + <FeatureValue>les_miserables.jpg</FeatureValue> + </ResourceVersionFeature> + <ResourceLink>les_miserables.jpg</ResourceLink> + </ResourceVersion> + </SupportingResource> + </CollateralDetail> + <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> + <PublishingDetail> + <Publisher> + <PublishingRole>01</PublishingRole> + <PublisherName>Prismallia</PublisherName> + </Publisher> + <PublishingDate> + <PublishingDateRole>01</PublishingDateRole> + <DateFormat>00</DateFormat> + <Date>20140927</Date> + </PublishingDate> + </PublishingDetail> + <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> + <ProductSupply> + <SupplyDetail> + <Supplier> + <SupplierRole>01</SupplierRole> + <SupplierName>Prismallia</SupplierName> + </Supplier> + <ProductAvailability>20</ProductAvailability> + <SupplyDate> + <SupplyDateRole>08</SupplyDateRole> + <DateFormat>00</DateFormat> + <Date>20140927</Date> + </SupplyDate> + <Price> + <PriceType>03</PriceType> + <PriceAmount>18.60</PriceAmount> + <Tax> + <TaxRatePercent>7</TaxRatePercent> + <TaxAmount>1</TaxAmount> + </Tax> + <CurrencyCode>EUR</CurrencyCode> + <Territory> + <CountriesIncluded>FR</CountriesIncluded> + </Territory> + </Price> + <Price> + <PriceType>04</PriceType> + <PriceAmount>19.90</PriceAmount> + <Tax> + <TaxRatePercent>7</TaxRatePercent> + <TaxAmount>1</TaxAmount> + </Tax> + <CurrencyCode>EUR</CurrencyCode> + <Territory> + <CountriesIncluded>FR</CountriesIncluded> + </Territory> + </Price> + </SupplyDetail> + </ProductSupply> + </Product> +</ONIXMessage>