🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.xml
Article #270

Re: ��ʶ CAM��һ���µ� XML ��֤����(�Ƽ�)

#270
From: <Test/>
Date: Wed, 11 Nov 2009 09:15
25 lines
1877 bytes
 ���µ������ã�ֻ�Ǿ���XPath�Ƕβ���XSDֱ�ۡ�

<as:context> 
    <as:constraint 
action="makeRepeatable(//PurchaseOrder/LineItems/LineItem)"/> 
    <as:constraint action="makeOptional(//LineItem/Comment)"/> 
    <as:constraint action="setLength(//ShippingAddress/State,2)"/> 
    <as:constraint action="setDateMask(//PurchaseOrder/ShipDate,DD-MM-
YYYY)"/> 
    <as:constraint action="setNumberMask(//LineItem/Quantity,###)"/> 
    <as:constraint action="setNumberMask(//LineItem/Price,###.##)"/> 
    <as:constraint 
action="setNumberMask(//PurchaseOrder/TotalPrice,###.##)"/> 
    <as:constraint condition="//PurchaseOrder/TotalPrice > 100" 
     action="makeOptional(//PurchaseOrder/ShippingMethod)"> 
</as:context> 

�� �� modico ().net() �Ĵ������ᵽ: ��
:  ���������զ��Ҳ�����µ�Ҫ��

--
Happy XMLing


�� ��Դ:��ˮľ���� http://newsmth.net��[FROM: 219.232.52.*]
Technical Details
Message-ID: <4ikOkQ$E4F@newsmth.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!61.160.212.82.MISMATCH!www.shinco.com!news.newsmth.net!NEWSMTH

Show Full Headers
Complete Article Headers
X-Google-Thread: f7ebf7e2af,11a950a567dbf984,start
X-Google-Attributes: gidf7ebf7e2af,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!61.160.212.82.MISMATCH!www.shinco.com!news.newsmth.net!NEWSMTH
From: thinkhy@newsmth.net-SPAM.no (<Test/>)
Newsgroups: cn.bbs.comp.xml
Subject: Re: ��ʶ CAM��һ���µ� XML ��֤����(�Ƽ�)
Date: 11 Nov 2009 09:15:38 GMT
Organization: ˮľ����
Message-ID: <4ikOkQ$E4F@newsmth.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: XML/e/M.1257930938.F0
Lines: 25
X-Original-Bytes: 1520