1 / 8

XML Formatos

XML Formatos. Elecciones. CSS ( Cascading Style Sheets ) Provee formato XLS Xtensible Style Languaje Provee Transformacion. Ejemplo. Se tiene: <? xml version ="1.0" encoding ="UTF-8"?> <gente> <esposo empleado="Si"> <nombre>Juan</nombre> < anio >45</ anio > <esposa>

conlan
Download Presentation

XML Formatos

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. XML Formatos

  2. Elecciones • CSS • (Cascading Style Sheets) • Provee formato • XLS Xtensible Style Languaje Provee Transformacion

  3. Ejemplo • Se tiene: • <?xmlversion="1.0" encoding="UTF-8"?> • <gente> • <esposo empleado="Si"> • <nombre>Juan</nombre> • <anio>45</anio> • <esposa> • <enombre>Julia</enombre> • <anio>45</anio> • </esposa> • </esposo> • <esposo empleado="No"> • <nombre>Pedro</nombre> • <anio>55</anio> • <esposa> • <enombre>Lisa</enombre> • <anio>43</anio> • </esposa> • </esposo> • </gente>

  4. Para el caso de css • esposo{ • font-family:Times; • font-size:16px; • color:blue; • }

  5. Adicionar a xml • <?xml-stylesheet type="text/css" href=“gente.css"?> • Adicionar en el css • display:block;

  6. Para la esposa adicionar al css • esposa{ • font-family:Courier; • font-size:11px; • color:green; • }

  7. Para el esposo • Background-color:yellow; • Margin-bottom:2px; • Width:125px

  8. Cambiar css a: • esposo{ • font-family:Times; • font-size:16px; • color:black; • display:block; • background-color:steelblue; • margin-bottom:6px; • width:200px; • padding:40; • } • esposa{ • font-family:Courier; • font-size:11px; • color:white; • }

More Related