|
SYNOPSIS
string xmlReaderGetLang(xmlReader reader)
Parameters:
-
reader - the xmlReader object
Returns:
- the value of the special
xml:lang attribute for the
current element(if any).
DESCRIPTION
xml:lang is a special attribute defined by the XML spec for
defining the language of elements. xmlReaderGetLang() returns
the defined language for the current element, whether it's defined
there or inherited from a parent.
See the Language Identification section of the XML spec for
more information:
http://www.w3.org/TR/REC-xml/#sec-lang-tag
EXAMPLE
<$lang = (xmlReaderGetLang($reader))>
SEE ALSO
xmlReaderGetEncoding,
xmlReaderGetVersion
Copyright © Thunderstone Software Last updated: Mon Feb 18 10:28:15 EST 2013
|