[ ]   [ ]   [ ]   [ ]



: 0
25-02-12 07:01


igor64
: 0
16-01-12 20:13


Lil`Ga.k.a43
: 1
09-01-12 11:23



   Web -
PHP


ASP






XML



CSS

SSI





   











   Web -








   









   










Web - / XML /

XML


XML .


:


<text>ThisisanXMLdocument</text>


:

<text>Thisisan
<doctype>XMLdocument</doctype>
</text>



XML , , :

???ThisisanXMLdocument???

, , .


<book> :

<book>Thisisabook</book>


<list> :

<list>
<item>Item1</item>
<item>Item2</item>
<item>Item3</item>
</list>




:

???
<item>Item1</item>
<item>Item2</item>
<item>Item3</item>
???

. .


</book> <book>:

<book>Thisisabook</book>


, 4 <list>, <item>, <ITEM> <Item>:

<list>
<item>Car</item>
<ITEM>Plane</ITEM>
<Item>Train</Item>
</list>



<item> - </itm> <item> - </ITEM> :

<list>
<item>Car</itm>
<item>Plane</ITEM>
<item>Train</item>
</list>

- , . , , , .


:

<Weight>
<number>12</number>
<unit>grams</unit>
</Weight>


:

<book>
<chapter>
<title>Introduction</title>
</chapter>
<chapter>
<title>Story</title>
<subChapter>
<title>Part1</title>
</subChapter>
<subChapter>
<title>Part2</title>
</subChapter>
</chapter>
<chapter>
<title>Index</title>
</chapter>
</book>



<italic> :

<text>
<bold><italic>XML</bold></italic>
</text>

, , , , . . : <name/>. ("/") > .


. XML <AAA></AAA> <AAA/>:

<listOfTags>
<AAA></AAA>
<BBB></BBB>
<CCC/>
<DDD/>
</listOfTags>



("/") :

<description>
Thereare<color>yellow<color>and<color>red</color>apples.
</description>

, , ("-"), ("_"), (":") (".'), . , . , 'xml', .


:

<permitedNames>
<name/>
<xsl:copy-of/>
<A_long_element_name/>
<A.name.separated.with.full.stops/>
<a123323123-231-231/>
<_12/>
</permitedNames>



:

<forbidenNames>
<A;name/>
<last@name/>
<@#$%^()%+?=/>
<A*2/>
<1ex/>
</forbidenNames>


'xml':

<forbidenNames>
<xmlTag/>
<XMLTag/>
<XmLTag/>
<xMlTag/>
<xmLTag/>
</forbidenNames>

, . . '='. '...' "...". , , .


:

<elements-with-attributes>
<el_ok="yes"/>
<oneattr="avalue"/>
<severalfirst="1"second='2'third="333"/>
<apos_quotecase1="John's"case2='Hesaid:"Hello,world!"'/>
</elements-with-attributes>



:

<errors>
<wrong_chara*b="23432"/>
<mismatched_separatorvalue="12'/>
<wrong_separator_typevalue="aa"aa"/>
<wrong_separator_typevalue='bb'bb'/>
<wrong_startXML-ID="xml234"/>
</errors>

< & , . , < < & &.


& <:

<example>
<isLower>
23<46
</isLower>
<ampersand>
Willey&sons
</ampersand>
</example>



& < :

<example>
<isLower>
23<46
</isLower>
<ampersand>
Willey&sons
</ampersand>
</example>

>, ", ' >, " ', .


:

<example>
<right-bracket>both>and>permitted</right-bracket>
<double-quote>both"and"permitted</double-quote>
<apostrophe>both'and'permitted</apostrophe>
Usefulin:<elvalue="'"'"/>
</example>

, . XML- , , . ('--').


, '--':

<!--docA-->
<example>
<!--<HEAD>-->
<!--Characters<&<-->
</example>



'--':

<example>
<!--A--B-->
</example>


(PI), .


:

<example>
<?perllower-to-upper-case?>
<?web-serveradd-header="university"?>
<text>vscht</text>
</example>



?>:

<example>
<?perlrun_>
</example>


CDATA , , . CDATA '<![CDATA[' ']]>'. ']]>'.


CDATA:

<example>
<![CDATA[<aaa>bb&cc<<<]]>
</example>



CDATA ']]>':

<example>
<![CDATA[<aaa>bb]]>cc<<<]]>
</example>

XML- , , XML-, XML.


XML:

<?xmlversion="1.0"?>
<text>ThisdocumentconformstotheXML1.0specification.</text>


:

<?xmlversion="1.0"encoding="ISO-8859-2"?>
<text>IfencodingisnotgivenUTF-8isassumed</text>


[ ]



  !



: Web - / XML /

XML
07-03-2010   

. , SQL Server 2000 SQL Server 2005 , ...

: 0
. : - 3534 - 0

XML C++
23-09-2009   

.NET Framework, - C++. XmlLite, XML, , C++...

: 2
. : - 3263 - 0

SNMP
14-04-2009   

SNMP /. , . 4 SNMP...

: 4
. : - 2727 - 0

DTD- XML-
14-04-2009   

Documents Type Definitions (DTD) XML-...

: 4
. : - 2832 - 0

XML-
14-04-2009   

XML-...

: 0
. : - 2805 - 0



e-mail:
:

| ?







IT -




-




  WWW.COMPROG.RU - 2009-2012 | Designed and Powered by Zaipov Renat | Projects