このトピックでは、「XPath リファレンス」全体を通じて提示される構文例を説明します。すべての例は、「XPath 構文のサンプル XML ファイル (inventory.xml)」に基づいてます。テスト ファイル内で XPath 式を使用する方法を示す例については、このトピックの最後の「和集合の例 ( | )」を参照してください。 式 説明
![XPath の例](https://cdn-ak-scissors.b.st-hatena.com/image/square/d6e4cb632c7025e9f5e05fd314fbf6dcd6144e8d/height=288;version=1;width=512/https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fmedia%2Fopen-graph-image.png)
はじめに Maven の Archetype Plugin を使って Java project を作成する方法と、その project に対する Maven の基本操作について説明する。 Maven のコマンドを1つ実行するだけで、 Hellow World プログラムの source file と test file が自動で作成される。 Project の作成 以下の Maven コマンドを実行すると、 Java project が作成される。 mvn archetype:generate \ -DarchetypeArtifactId=maven-archetype-quickstart \ -DinteractiveMode=false \ -DgroupId={group-id} \ -DartifactId={project-name}
Cで書かれた prefork デーモン(daemon)のちょうど良いサンプルが見つからなかったので自分で書く。 ちょうど良いお手本がないので PerlのソースをCに移植した。 プラットフォームはCentOS5.2。 my_prefork.c ただの prefork のサンプル(デーモン化はしていない) #include <stdio.h> #include <string.h> #include <apr_hash.h> #include <sys/types.h> #include <unistd.h> #include <sys/wait.h> #define MAX_CHILDREN 16 //子プロセスの数 int main(void){ // 子プロセスの管理にハッシュテーブルを使う apr_pool_t* pool; apr_hash_t* hChildren; apr_ini
Interactive B+ Tree (C) A B+ tree ("bee plus tree") is a data structure used as an index to facilitate fast access to the elements of a larger body of data, such as the entries in a database or the blocks of memory storage ("pages") in an operating system. Each target object (entry, page) is associated with an index key. The B+ tree is laid out like a family tree, where each node has some number o
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く