Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 710173
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T04:35:08+00:00 2026-05-14T04:35:08+00:00

I am writing a Page with XML Only. No XSL is being. everything is

  • 0

I am writing a Page with XML Only. No XSL is being.
everything is going well with XML and CSS.
But how can I make Input fields with XML and CSS Only ??
is it really possible ??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T04:35:09+00:00Added an answer on May 14, 2026 at 4:35 am

    Xml is for data transformation, porting, trasportation, etc – things related to data.

    CSS is for styling.

    You will need something for instance, html(or XForms?), to provide/render controls.

    Or probably, if you plan to render the control yourself, then you can, for instance, add an element, and render the control by parsing it yourself.

    <MyControl type="Text">This is a test value</MyControl>
    

    When you see MyControl having a Text type then add a Text control.

    –EDIT–

    This is in response to your comment.

    I understand what you are saying; to be clear, I believe CSS by nature/actually is for styling – therefore CSS is applied “on” the controls, CSS aren’t the controls; so we come up with certain classes, ids, selectors and apply them over the controls.

    This may be, yet again, a fat example, but its like telling a “Paint” to build a “House”.

    Probably you already know this, but this is just to add: Following is how CSS is applied to a html button control.
    Example taken from here:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>CSS Button</title>
    <style type="text/css">
    body {
      font: 140%/1.6 "Gill Sans", Futura, "Lucida Grande", Geneva, sans-serif;
      color: #666;
      background: #fff;
    }
    
    a:link, a:visited {
      display: block;
      width: 6em;  
      padding: 0.2em;
      line-height: 1.4;
      background-color: #94B8E9;
      border: 1px solid black;
      color: #000;
      text-decoration: none;
      text-align: center;
    }
    
    a:hover {
     background-color: #369;
     color: #fff;
    }
    
    </style>
    </head>
    
    <body>
    
    <p><a href="#">Button</a></p>
    
    </body>
    </html>
    

    The above code is going to render a button with css applied like following:
    alt text http://img689.imageshack.us/img689/4615/72060104.jpg

    So to answer your question directly, I believe it is not possible to render a control with CSS.

    Now based upon your requirements, I understand that:
    1. You want to render the control yourself.
    2. You want to apply CSS to that control.

    Solution 1:
    1. Add, parse and render your custom control xml tags, as discussed earlier.
    2. And add the CSS style within xml, see example

    Solution 2:
    1. Add, parse and render your custom control xml tags, as discussed earlier.
    2. Add css in xml CDATA; while xml parse, grab the CSS from CDATA, and apply to the control.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing a page with several text fields and a drop down. The fields
I am writing a PHP page to convert an uploaded file to XML. I
I have a page where I'm just writing a bunch of XML data to
How can i write a datatable content on web page in XMl foramte in
How do I display on an html page an xml? how can I set
I am writing a help page with sections. What I want to do is
I am writing a web page widget for my company. This widget must inject
I am writing a web page that uses some php files. The php isn't
I am writing a transaction page whereby upon a successful transaction, the user is
I am new to JSP/Servlets/MVC and am writing a JSP page (using Servlets and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.