Nice View of your XML Document

Explanations: Root, Element, Attribute, Text, Comment, Processing Instruction, Namespace

Root
Processing Instruction: Name: xmlstylesheet Value: href="book.css" type="test/css"
Comment: information about a book
Element: book
Namespace: Prefix: xml URI: http://www.w3.org/XML/1998/namespace
Namespace: Prefix: URI: http://example.com/books
Attribute: Name: year Value: 2000
Attribute: Name: isbn Value: 0-596-00027-8
Attribute: Name: pages Value: 1300
Text:
Element: title
Namespace: Prefix: xml URI: http://www.w3.org/XML/1998/namespace
Namespace: Prefix: URI: http://example.com/books
Text: Programming Perl, Third Edition
Text:
Element: authors
Namespace: Prefix: xml URI: http://www.w3.org/XML/1998/namespace
Namespace: Prefix: URI: http://example.com/books
Namespace: Prefix: p URI: http://example.com/people
Text:
Element: p:person
Namespace: Prefix: xml URI: http://www.w3.org/XML/1998/namespace
Namespace: Prefix: URI: http://example.com/books
Namespace: Prefix: p URI: http://example.com/people
Text: Larry Wall
Comment: Perl inventor
Text:
Element: p:person
Namespace: Prefix: xml URI: http://www.w3.org/XML/1998/namespace
Namespace: Prefix: URI: http://example.com/books
Namespace: Prefix: p URI: http://example.com/people
Text: Tom Christiansen
Text:
Element: p:person
Namespace: Prefix: xml URI: http://www.w3.org/XML/1998/namespace
Namespace: Prefix: URI: http://example.com/books
Namespace: Prefix: p URI: http://example.com/people
Text: Jon Orwant
Text:
Text:
Element: publisher
Namespace: Prefix: xml URI: http://www.w3.org/XML/1998/namespace
Namespace: Prefix: URI: http://example.com/books
Text: O'Reilly
Text:
Element: price
Namespace: Prefix: xml URI: http://www.w3.org/XML/1998/namespace
Namespace: Prefix: URI: http://example.com/books
Attribute: Name: currency Value: USD
Text: 49.95
Text:
Comment: Comment about the book in Japanese
Text:
Element: 評価
Namespace: Prefix: xml URI: http://www.w3.org/XML/1998/namespace
Namespace: Prefix: URI: http://example.com/reviews-ja
Text:
Element: 作者
Namespace: Prefix: xml URI: http://www.w3.org/XML/1998/namespace
Namespace: Prefix: URI: http://example.com/reviews-ja
Attribute: Name: 所属 Value: 青山学院大学
Text: Martin J. Dürst
Text:
Element: 文書
Namespace: Prefix: xml URI: http://www.w3.org/XML/1998/namespace
Namespace: Prefix: URI: http://example.com/reviews-ja
Text:
Element: 段落
Namespace: Prefix: xml URI: http://www.w3.org/XML/1998/namespace
Namespace: Prefix: URI: http://example.com/reviews-ja
Text: 第一版は1991年に出ましたので、長年の定番。 プログラム言語の Perl と一緒に成長しました。
Text:
Element: 段落
Namespace: Prefix: xml URI: http://www.w3.org/XML/1998/namespace
Namespace: Prefix: URI: http://example.com/reviews-ja
Text: 日本語版は何と
Element: 注意
Namespace: Prefix: xml URI: http://www.w3.org/XML/1998/namespace
Namespace: Prefix: URI: http://example.com/reviews-ja
Text: 二冊で計1300ページ
Text: になっています。
Text:
Text:
Text: