如何使用CSS设置XML样式?

时间:2015-07-27 10:19:56

标签: css xml frontend

我只想弄清楚如何设置这个XML代码的样式,但是xml是一个URL,我试图弄清楚如何设计这个样式,有没有人有任何想法?下面是我试图设计的XML示例:

<ListOfItems>
    <Product Name="The Fifth Dreamshaker Jumpsuit" Manufacturer="The Fifth" Url="http://www.urbanoutfitters.com/uk/catalog/productdetail.jsp?currency=200002&id=5129441181003" SKU="5129441181003">
    <Description>
    <![CDATA[
    <p>This jumpsuit is presented by casual-cool Australian label The Fifth and is the absolute pinnacle of casual-cool style thanks to its simple, clean lines and luxe-looking fabric.&nbsp; <br/><br/><strong>THINGS TO KNOW:</strong><br/>- Machine wash</p>
     <p><strong>SIZE &amp; FIT:</strong><br/>- Model wears: Small<br/>- Model height: 172.5cm/5'8</p>
    ]]>
    </Description>
    <Categories>
    <Category Name="women's>New>Clothing"/>
    <Category Name="women's>Dresses>Playsuits & Jumpsuits"/>
    </Categories>
    <Variations>
    <Variation Color="NAVY">
    <Images>
    <Image Url="http://euimages.urbanoutfitters.com/is/image/UrbanOutfittersEU/5129441181003_041_b?$zoom$&defaultImage="/>
    <Image Url="http://euimages.urbanoutfitters.com/is/image/UrbanOutfittersEU/5129441181003_041_d?$zoom$&defaultImage="/>
    <Image Url="http://euimages.urbanoutfitters.com/is/image/UrbanOutfittersEU/5129441181003_041_e?$zoom$&defaultImage="/>
    <Image Url="http://euimages.urbanoutfitters.com/is/image/UrbanOutfittersEU/5129441181003_041_f?$zoom$&defaultImage="/>
    <Image Url="http://euimages.urbanoutfitters.com/is/image/UrbanOutfittersEU/5129441181003_041_g?$zoom$&defaultImage="/>
    </Images>
    <Sizes>
    <Size Name="ONE SIZE" InStock="0" PriceGBP="84.00" OldPriceGBP="84.00" PriceEUR="115.00" OldPriceEUR="115.00"/>
    <Size Name="XS" InStock="1" PriceGBP="84.00" OldPriceGBP="84.00" PriceEUR="115.00" OldPriceEUR="115.00"/>
    <Size Name="S" InStock="1" PriceGBP="84.00" OldPriceGBP="84.00" PriceEUR="115.00" OldPriceEUR="115.00"/>
    <Size Name="M" InStock="1" PriceGBP="84.00" OldPriceGBP="84.00" PriceEUR="115.00" OldPriceEUR="115.00"/>
    <Size Name="L" InStock="1" PriceGBP="84.00" OldPriceGBP="84.00" PriceEUR="115.00" OldPriceEUR="115.00"/>
    </Sizes>
    </Variation>
    </Variations>
    </Product>
</ListOfItems>

0 个答案:

没有答案