473,414 Members | 1,876 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,414 software developers and data experts.

How can I make it apply to whole document?

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, so that I know
the blocks and parse through PHP and display.

Thanks,
Prakash.
Jul 20 '05 #1
1 1297


Hari Prakash wrote:

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, so that I know
the blocks and parse through PHP and display.


You can declare prefixes for different namespace as in

<doc
xmlns="http://example.com/2004/07/whatever"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<element>
<xhtml:table border="1">
<xhtml:tbody>
<xhtml:tr>
<xhtml:td>Kibology</xhtml:td>
</xhtml:tr>
</xhtml:tbody>
</xhtml:table>
</element>
</doc>

--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Sparko | last post by:
My Xml is as follows; <root> <st id="1"> <rt id="1"> <cr id="1" ca_w="" ca_x="" ca_y="" ca_z="" other attribs> <ct some attribs> <te some attribs /> <te some attribs />
3
by: Waffeloo | last post by:
Hi, I would like an event to trigger a change the style of all the elements that belong to some CSS class. I know it is possible to change the class of an element, for example with: <script...
3
by: Frank Rizzo | last post by:
I've added a .css stylesheet to my asp.net project. How can I make vs.net apply the stylesheet to all new pages (or even current) that I create? Thanks
4
by: ctchrinthry | last post by:
I have some large and complex XML documents. I want to return the whole document with some sections trimmed away. Right now, i read the whole document into some python code, walk the tree, snip...
4
by: evgenyg | last post by:
Hello ! We have the following situation - when Ajax request is sent what's being returned by the server is usually an XML (which is used for DOM updates) but sometimes it's HTML which is a whole...
3
by: Mike Weathery | last post by:
Hi all I am using the following function in a text entry box: function goToTV() { location.href="http://www.tvguide.com" + "/search/index.aspx?keyword=" + document.search.q.value; return...
3
by: abhishek.smu | last post by:
Given an XML like: <root> <node>8</node> <node>21</node> <node>-7</node> <node>13</node> <node>43</node> <node>2</node> </root>
2
by: RccH | last post by:
Beginner using xslt... So. I have an XML file which has a link into xslt file like following... <?xml version='1.0' encoding='utf-8' ?> <?xml-stylesheet type="text/xsl" href="transform.xsl"?>...
1
by: gan | last post by:
here the code, now i want to apply the link for hole popup window, wherever i move the cursor inside the popup window it has to be show as a link how? please help me some one <html> <head>...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.