DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Thread: Background

  1. #1
    Omair Majid Guest

    Background


    I want to Change the bakground of an XML document.
    In HTML is used the STYLE attribute of BODY, What in XML

    Please Help

    Omair Majid
    (omair_majid@hotmail.com
    omairm@cyber.net.pk )

  2. #2
    Russell Jones Guest

    Re: Background

    XML Documents don't have a style--the tags in XML are metadata wrappers that
    give context to the data they contain. However, to display an XML document,
    you can transform it using XSLT. If you transform it to HTML, then you can
    still use the body.style attribute to set the background color. If you post
    a small sample document here, someone will show you how to do that.

    Russell Jones
    Sr. Web Development Editor
    DevX.com

    "Omair Majid" <omair_majid@hotmail.com> wrote in message
    news:3a682b8a$1@news.devx.com...
    >
    > I want to Change the bakground of an XML document.
    > In HTML is used the STYLE attribute of BODY, What in XML
    >
    > Please Help
    >
    > Omair Majid
    > (omair_majid@hotmail.com
    > omairm@cyber.net.pk )




Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links