How to parser XML exactly XLIFF files and get the source content in PHP. how to get the source content of the xml file http://docs.oasis-open.org/xliff/v1.2/cs02/Sample%5FAlmostEverything%5F1.2%5Fstrict.xlf
A:
In XQuery "//xliff" means any xliff element in the document. "/xliff" means from the root or current node.
David W
2009-11-10 03:57:54
From root only. Current node is '.'
Jim Garrison
2009-11-10 04:35:57
Jim's right. "./xliff" or "xliff" gets you children of the current node.
David W
2009-11-10 13:59:07
A:
//xliff finds all <xliff> tags at any depth of nesting within the document. /xliff finds them (it) only at the root level.
Jim Garrison
2009-11-10 04:37:09