According to the XML 1.0 recommendation, the xml:lang attribute applies to
all child elements and attributes of the element that is applied to.
Therefor if the language for the entire document is "en" then

        <my-doc-root xml:lang="en"></my-doc-root> 

would suffice.  What is the best way in the JiBX world to account for
special attributes like xml:lang?  I toyed around with some different
mappings and ran into problems when using the ":" character in a mapping
like so...

        <value name="xml:lang" field="languageCode" style="attribute" />

--Norm

-- 
Norm Deane
MIS Consultant
Vanderbilt University
(615) 322-7855
[EMAIL PROTECTED] 



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
jibx-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to