monchit's profile\^o^/ Hello! Welcome to ...PhotosBlogListsMore Tools Help

\^o^/ Hello! Welcome to MooMonchit Space \^o^/

monchit

Occupation
Location
Interests
Programmer
Information System
Eternity Grand Logistics Public Company Limited
18/8 M.4 KM.23 10540
Photo 1 of 6
No list items have been added yet.
July 07

ภาพบรรยากาศที่ไปเที่ยวกับบริษัท ที่ กาญจนบุรี

ออกเดินทางวันเสาร์ที่ 5 กรกฎาคม 2551



July 03

หลังจากได้ทำงานมาหนึ่งเดือน

เพิ่งทำงานได้แค่เดือนเดียว บรรยากาศในที่ทำงานก็ ok งานก็ไม่ค่อยเครียดมาก เดี๋ยวเสาร์อาทิตย์นี้ก็จะได้ไปเที่ยวกับบริษัทที่กาญจนบุรี เดี๋ยวจะเก็บรูปมาฝาก
พอได้เงินเดือนๆแรกมาก็เอาไปซื้อมือถือใหม่ทันที เนื่องจากเครื่องเก่ามันไม่ไหวแล้ว มันอยู่กับเรามานานมากแล้ว ถึงเวลาที่ต้องเปลี่ยน จากการหาข้อมูลต่างๆ
ก็เลยได้ sony ericsson K770i มา ได้มาก็เอามาลงเกมส์ก่อนเป็นอันดับแรก ก็ไม่แพงเท่าไร แต่เดือนนี้จะเอาเงินที่ไหนส่งแม่เนี่ย
ก็ไม่มีไรละ เล่าให้ฟังเล่นๆ ไม่ค่อยจะได้เล่าอะไรแบบนี้เท่าไรนัก
November 24

XSD Complex Elements

XSD Complex Elements

Complex Element คืออะไร
complex element เป็น XML element ซึ่งบรรจุ element อื่น และ/หรือ attribute
complex element มี 4 ชนิด คือ
- empty element

ตัวอย่าง

<product pid="1345"/>

- element ซึ่งบรรจุ element อื่นเท่านั้น

ตัวอย่าง

<employee>

<firstname>John</firstname>

<lastname>Smith</lastname>

</employee>


- element ซึ่งบรรจุตัวอักษรเท่านั้น

ตัวอย่าง

<food type="dessert">Ice cream</food>
 

- element ซึ่งบรรจุทั้ง element อื่น และตัวอักษร

ตัวอย่าง

<description>

It happened on <date lang="norwegian">03.03.99</date> ....

</description>
 

Note: แต่ละ element นี้อาจจะบรรจุ attribute ได้

การนิยาม Complex element

จาก Complex XML element “employee” นี้

<employee>

<firstname>John</firstname>

<lastname>Smith</lastname>

</employee>

สามารถนิยาม Complex element ใน XML Schema ได้ 2 วิธี คือ
1. Element "employee" สามารถประกาศโดยตรงด้วยใช้ชื่อของ element นั้น ดังนี้

<xs:element name="employee">

  <xs:complexType>

    <xs:sequence>

      <xs:element name="firstname" type="xs:string"/>

      <xs:element name="lastname" type="xs:string"/>

    </xs:sequence>

  </xs:complexType>

</xs:element>

 2. Element "employee" สามารถมี attribute type ซึ่งอ้างถึงชื่อของ Complex type ที่ใช้ ดังนี้

<xs:element name="employee" type="personinfo"/>

<xs:complexType name="personinfo">

  <xs:sequence>

    <xs:element name="firstname" type="xs:string"/>

    <xs:element name="lastname" type="xs:string"/>

  </xs:sequence>

</xs:complexType>

แหล่งข้อมูล: www.w3schools.com

November 19

Rhinoceros Beetle

Distribution: Japan, North and South Korea, Taiwan, Indochina
Body size; 30 to 80 mm

เป็นแมลงกระดาษตัวที่สองที่ทำคับ ไม่ยากคับ เพื่อนๆ สามารถทำได้ทุกคนคับ
เป็นการฝึกสมาธิด้วย ทำให้ใจเย็นคับ ลองทำดูนะคับ

November 13

Stag Beetle แมลงกระดาษ

นี้เป็นแมลงกระดาษตัวแรกที่ผมทำคับ Stag Beetle ทำวันเดียวเสร็จคับ ถ้าทำตัวอะำไรอีก จะเอามาให้ดูกันใหม่Nerd