TAILIEUCHUNG - Beginning Regular Expressions 2005 phần 9

Mô tả Trả về một giá trị Boolean cho biết các mẫu biểu thức chính quy là lần xuất hiện trong chuỗi, mà là tham số để phương pháp IsMatch (). Trả về số không hay đối tượng trận đấu, tùy thuộc vào chuỗi cung cấp phương pháp như đối số của nó có chứa một trận đấu. | Regular Expressions in W3C XML Schema . If you want to validate the XML document and the schema is in some other location you will need to change the value of the xsi noNamespaceSchemaLocation attribute appropriately xsi noNamespaceSchemaLocation C BRegExp Ch24 After XMLSpy has associated a W3C XML Schema document with an XML instance document you can use XMLSpy to validate the XML instance document. The cursor in Figure 24-3 is hovering over the relevant toolbar button. Toward the bottom of Figure 24-3 you can see the message indicating that the document is valid according to the schema. You can similarly validate an XML instance document in Stylus Studio shown in Figure 24-4 or XMLWriter shown in Figure 24-5 . The arrow cursor in each figure shows you the relevant toolbar button to validate an XML instance document. Figure 24-4 Whether you already have an XML editor or choose to use the trial downloads for XMLSpy StylusStudio or XMLWriter you should now be in a position to validate an XML instance document against its schema. So you can now try out the examples in this chapter. 597 Chapter 24 Figure 24-5 How Constraints Are Expressed in W3C XML Schema In one sense W3C XML Schema is all about applying constraints. One type of constraint is limiting how elements and attributes can be structured inside an XML instance document belonging to the class of XML documents to which the schema applies. Another aspect of W3C XML Schema constraining the content of a class of XML documents is in constraining the content allowed as the value contained in an element or attribute. Two kinds of types can exist as the content of an element a complex type indicated by an xs complexType element in the schema and a simple type which may be indicated by an xs simpleType element in the schema . This chapter focuses on constraining the values allowed in simple types in an XML instance document. .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.