How can I make it apply to whole document?

Discussion in 'XML' started by Hari Prakash, Jul 16, 2004.

  1. Hari Prakash

    Hari Prakash Guest

    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.
    Hari Prakash, Jul 16, 2004
    #1
    1. Advertising

  2. 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/
    Martin Honnen, Jul 16, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. MattB
    Replies:
    0
    Views:
    395
    MattB
    Aug 31, 2004
  2. OM
    Replies:
    3
    Views:
    11,459
    Phrederik
    Sep 3, 2003
  3. Stefan Siegl
    Replies:
    1
    Views:
    958
    Marrow
    Jul 18, 2003
  4. \A_Michigan_User\
    Replies:
    2
    Views:
    881
    \A_Michigan_User\
    Aug 21, 2006
  5. Waffeloo

    Apply style changes to a whole CSS class

    Waffeloo, Sep 19, 2005, in forum: Javascript
    Replies:
    3
    Views:
    117
    Waffeloo
    Sep 20, 2005
Loading...

Share This Page