|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Document Language
At 05:25 AM 11/24/2003, Sajjad wrote:
Is there a function to detect the document language? Now that would be very impressive. While XSLT has no such function, as it happens it does have the function lang(), which is used to retrieve the value of the xml:lang attribute currently in scope. (xml:lang is defined by XML -- it's basically a flag to identify the language of an element, its attributes and descendants.) xml:lang is defined in the XML Recommendation (http://www.w3.org/TR/REC-xml, 2.12); the lang() function is defined in the XPath Rec (http://www.w3.org/TR/xpath, 4.3). Enjoy, Wendell
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








