How can I make it apply to whole document?

H

Hari Prakash

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.
 
M

Martin Honnen

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top