|
Article Excerpt Creating Web pages with HTML can be time consuming, so it's critical to create generic visual components that can easily be reused. This will give you a consistent look and feel throughout your application. You'll be able to add new functionality at one location and make it available across multiple Web pages, which can save you a lot of time.
Creating Reusable Visual Components
In order to create reusable visual components, it's important to create genetic stylesheets and JavaScript routines. The stylesheets can be used to display tabular data in a grid format, or menus to navigate your Web application (e.g., WebGrid.xsl, WebMenu.xsl). Even though these examples will show you how to build reusable tabular pages and menus, the same ideas can be used to generate any common type of Web page.
The reusable stylesheet to display tabular (grid) data, WebGrid.xsl, should:
1. Read instructions on how to build the view, defined between tags
2. Read the XML data, defined between tags, and transform it to HTML using XSL
The instructions on how to build the view are represented as XML. These build instructions, along with the XML data, are...
|
|

More articles from XML Journal
Web Services Edge: International Web Services Conference & Expo: Sept...., September 01, 2003 XML Certification quizzer: getting your next XML job.(XML Labs), September 01, 2003 Using XML Schemas effectively in WSDL design: achieve a higher degree ..., September 01, 2003
Looking for additional articles?
Search our database of over 3 million articles.
Looking for more in-depth information on this industry?
Search our complete database of Industry & Market reports by text, subject, publication
name or publication date.
About Goliath
Whether you're looking for sales prospects, competitive information, company
analysis or best practices in managing your organization,
Goliath can help you meet your business needs.
Our extensive business information databases empower business
professionals with both the breadth and depth of credible,
authoritative information they need to support their business
goals. Whether it be strategic planning, sales prospecting,
company research or defining management best practices -
Goliath is your leading source for accurate information.
|
|