mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
Added XPointer: - configure.in Makefile.am include/makefile.am: adding
Added XPointer: - configure.in Makefile.am include/makefile.am: adding XPointer and XPtrtests target - xpointer.[ch] : new files for XPointer support - test/XPath/xptr result/XPath/xptr: added XPointer testsuite and more XPath tests Daniel
This commit is contained in:
43
test/XPath/docs/vid
Normal file
43
test/XPath/docs/vid
Normal file
@ -0,0 +1,43 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE iddemo [
|
||||
<!ELEMENT iddemo (head?, (chapter)*)>
|
||||
<!ATTLIST iddemo id ID #IMPLIED>
|
||||
<!ELEMENT head (title?, (p)*)>
|
||||
<!ATTLIST head id ID #IMPLIED>
|
||||
<!ELEMENT chapter (title?, (p | image)*)>
|
||||
<!ATTLIST chapter id ID #IMPLIED>
|
||||
<!ELEMENT image EMPTY>
|
||||
<!ATTLIST image href CDATA #IMPLIED>
|
||||
<!ELEMENT title (#PCDATA)>
|
||||
<!ELEMENT p (#PCDATA)>
|
||||
]>
|
||||
|
||||
<iddemo>
|
||||
<head>
|
||||
<title>Welcome to Gnome</title>
|
||||
</head>
|
||||
<chapter id="chapter1">
|
||||
<title>The Linux adventure</title>
|
||||
<p>bla bla bla ...</p>
|
||||
<image href="linus.gif"/>
|
||||
<p>...</p>
|
||||
<p>third p</p>
|
||||
<p>fourth p</p>
|
||||
</chapter>
|
||||
<chapter id="chapter2">
|
||||
<title>Chapter 2</title>
|
||||
<p>this is chapter 2 ...</p>
|
||||
</chapter>
|
||||
<chapter id="chapter3">
|
||||
<title>Chapter 3</title>
|
||||
<p>this is chapter 3 ...</p>
|
||||
</chapter>
|
||||
<chapter id="chapter4">
|
||||
<title>Chapter 4</title>
|
||||
<p>this is chapter 4 ...</p>
|
||||
</chapter>
|
||||
<chapter id="chapter5">
|
||||
<title>Chapter 5</title>
|
||||
<p>this is chapter 5 ...</p>
|
||||
</chapter>
|
||||
</iddemo>
|
Reference in New Issue
Block a user