473,327 Members | 2,103 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

can we apply oops concept in xhtml...?

i have a small xhtml code, which is common across 10 files. right now same code is written in all 10 files. is there a way in xhtml that i
can write that peice of code (extended in .html) is in one file and use it in all the files. may be something like oops concept?
Mar 12 '09 #1
5 2802
Dormilich
8,658 Expert Mod 8TB
XML (and thus XHTML) itself is not capable of OOP, because it's a markup and not a programming language. if you want to re-use code, you might want to use a server side scripting language to do so.

PS: XHTML with the .html extension is treated as HTML (you have to use either .xml or .xhtml)
Mar 12 '09 #2
Thanks for the suggestion Dormilich

i'll definately look forward to it...

thanks again.
Mar 13 '09 #3
Dormilich
8,658 Expert Mod 8TB
note of caution:
Internet Explorer is not able to handle XHTML!!!
Mar 13 '09 #4
David Laakso
397 Expert 256MB
@Dormilich
No bone to pick, personally, but just a friendly word of caution:

On a list or forum frequently populated by beginners and novices an explanation of that blanket statement accompanied by appropriate historical and technical resources would be a nice touch...
Mar 13 '09 #5
Sorry for the late response- We must use scripting language like PHP for it to work.
Mar 3 '14 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Hari Prakash | last post by:
Dear Honnen, It seems I need to specify 'xmlns="http://www.w3.org/1999/xhtml"' to all the table I'm using. Is there any way to make it apply to whole document. My idea is to include my own tags,...
5
by: 张韡武 | last post by:
Hello. On one webpage I just worked out, I use svg (by using <object>) for browser that supports svg (firefox), and give an <imginside of <objectas a fallback for IE. ...
17
by: The Frog | last post by:
Hello everyone, I am working on an application that can build database objects in MS Access from text files. I suppose you could call it a backup and restore type routine. Accessing the...
1
by: psbasha | last post by:
Hi , Whether Python supports all the OOPs concepts as other languages do (C++ and JAVA) a) Polymorphism : - Function overloading and Operator overloading - Function overridding
4
by: C.W.Holeman II | last post by:
I am using Firefox 2.0.0.3 on MSWindows. I have an XML file http://emle.sourceforge.net/emle020000/testb.xml which invokes an XSLT file http://emle.sourceforge.net/emle020000/testb.xsl <?xml...
10
by: sam_cit | last post by:
Hi Everyone, I'm working on developing a chess game and i decided to use c++ for its object oriented approach. I have a bass class unit and is inherited to distinct number of units (like king,...
1
by: moreshwar | last post by:
Hi, I am working in software field from last 7 yrs basically on Turbo C, assembly. I recently switch over to .Net Programming. I want to understand first OOPS concept as i am totally unaware about...
2
by: doll | last post by:
hi i need to implement oops concept in .net...i need to create a private class and an object for a class..i should also create a method and call the method using the object..please someone help...
6
by: exhuma.twn | last post by:
This is something that keeps confusing me. If you read examples of code on the web, you keep on seeing these three calls (super, apply and __init__) to reference the super-class. This looks to me...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.