´úÂë:
<?php
$im=$_POST['upPicName'];
$it=$_POST['upPicTitle'];
$pa=$_POST['upPicAlbum'];
$pt=$_POST['upPicThumb'];
//echo $im.$it.$pa.$pt;
$doc = new DOMDocument();
$doc ->formatOutput = true;
$doc->load('pic.xml');
$project=$doc->documentElement->getElementsByTagName('media ......
ÎÒÏÖÔÚ»ñÈ¡µ½Ò»¸ö×Ö·û´®str
ÊǸöxml¸ñʽ
XML code:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
< ......
XML code:
<?xml version="1.0" encoding="utf-8" ?>
<rootNode name="Ê×Ò³" url="a.aspx">
<rootNode name="ÐÂÎÅ" url="b.aspx">
<rootNode name="¹úÄÚÐÂÎÅ" url="d.aspx"></rootNode> ......
BilledAmountÊÇÒ»¸ö¿ÉΪ¿ÕµÄÖµ¡£XSDÎļþУÑéBilledAmountµÄÒªÇóÈçÏ£º
1.BilledAmount Èç¹ûΪ¿Õ£¬±ÈÈç<BilledAmount/>£¬ ²»±¨´í¡£
2.BilledAmount Èç¹û²»Îª¿Õ£¬Ð£ÑéÊÇ·ñÂú×ã<xs:totalDigits value="9"/><xs:fractionDigits value="2"/>¡£
ÏÖÔÚÖ»ÒªÕâ¸öΪ¿Õ£¬xsdÎļþУÑéʱ¾Í±¨´í¡ ......
http://zh.wikipedia.org/w/api.php?action=parse&format=xml&page=%E7%BD%91%E7%BB%9C%E8%90%A5%E9%94%80
ËÄÜÓÃphp°ÑÕâ¸öxml¶Á³öÀ´£¬ÎÒÊÔ¹ýÒ»Ö±ÊDZ¨Õâ¸ö´í
Warning: DOMDocument::load(http://zh.wikipedia.org/w/api.php?action=parse&format=xml&page=%E7%BD%91%E7%BB%9C%E8%90%A5%E9%94%80) [domdoc ......
RXmlDoc := System.xml.XmlDocument.Create;
sxml := copy(sRsult, ir + 8, length(sRsult));
sxml := System.Text.Encoding.GetEncoding('gb2312').GetString(Convert.fromBase64String(sxml));
RXmlDoc.LoadXml(sxml);
RXmlDoc. ......
×ܼǼÊý:834; ×ÜÒ³Êý:139; ÿҳ6 Ìõ;
Ê×Ò³ ÉÏÒ»Ò³ [1] [2] [3] [4] 5
[6] [7] [8] [9] [10] ÏÂÒ»Ò³ βҳ