summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/doc/snippets/patternist/copyID.xq
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@digia.com>2012-11-22 16:35:24 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-23 13:16:20 +0100
commit051aeb291646745559c47da160193bdcbd34ef2b (patch)
tree50040152b4dfe22238ef0446c9e57ff1b345bdd4 /src/xmlpatterns/doc/snippets/patternist/copyID.xq
parentb34af22fcc7e9321e5a7943763cd68a1d51a36d5 (diff)
downloadqtxmlpatterns-051aeb291646745559c47da160193bdcbd34ef2b.tar.gz
Doc: Modularized Qt XML Patterns documentation.
-moved snippets, images, documentation to src/xmlpatterns -fixed \snippet tag -ported module information from qtdoc repository -enabled "make docs" for the module -set up qdocconf file and .index file -updated tests/auto/patternistexamples to point to the new snippet locations Change-Id: Ifd10733c277c6dbacac42898c8e7bacd00d23f27 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/xmlpatterns/doc/snippets/patternist/copyID.xq')
-rw-r--r--src/xmlpatterns/doc/snippets/patternist/copyID.xq3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xmlpatterns/doc/snippets/patternist/copyID.xq b/src/xmlpatterns/doc/snippets/patternist/copyID.xq
new file mode 100644
index 0000000..2409caf
--- /dev/null
+++ b/src/xmlpatterns/doc/snippets/patternist/copyID.xq
@@ -0,0 +1,3 @@
+(: Copy the value of xml:id attribute from other.html. This is a comment by the way! :)
+<html xmlns="http://www.w3.org/1999/xhtml/"
+ xml:id="{doc("other.html")/html/@xml:id}"/>