1. Майор

    Майор Active Member

    Joined:
    24 Oct 2004
    Messages:
    558
    Likes Received:
    112
    Reputations:
    146
    Есть ли возможность вставить xhtml код в тело html страницы ?
     
  2. Algol

    Algol New Member

    Joined:
    29 May 2002
    Messages:
    1,759
    Likes Received:
    4
    Reputations:
    0
    xhtml - это ваще что такое ?
     
  3. Майор

    Майор Active Member

    Joined:
    24 Oct 2004
    Messages:
    558
    Likes Received:
    112
    Reputations:
    146
    .....я имел ввиду xml код
     
  4. Algol

    Algol New Member

    Joined:
    29 May 2002
    Messages:
    1,759
    Likes Received:
    4
    Reputations:
    0
    XML можно
    Например так:
    HTML:
    This example uses the XML element to define a simple XML data island that can be embedded directly in an HTML page.
    
    <XML ID="oMetaData">
      <METADATA>
         <AUTHOR>John Smith</AUTHOR>
         <GENERATOR>Visual Notepad</GENERATOR>
         <PAGETYPE>Reference</PAGETYPE>
         <ABSTRACT>Specifies a data island</ABSTRACT>
      </METADATA>
    </XML>
    This example uses the readyState property of the xml object to determine whether the XML data island is completely downloaded.
    
      if (oMetaData.readyState == "complete")
          window.alert ("The XML document is ready.");
    
    This script example retrieves the text contained within the ABSTRACT field of the data island.
    
       var oNode = oMetaData.XMLDocument.selectSingleNode("METADATA/ABSTRACT");
       alert(oNode.text);
    
    (C)MSDN
     
  5. Майор

    Майор Active Member

    Joined:
    24 Oct 2004
    Messages:
    558
    Likes Received:
    112
    Reputations:
    146
    Спасибо, попробую!