![]() Since the "default" value in most situations acts as if theĪttribute is not used, it is seldom used. The xml:space attribute can only have two values, "default" and "preserve". If a document is going to be validated with a schema processor, the attribute must be declared in the schema. The xml:space attribute share another important fact with the xml:lang attribute. The xml:space attribute only matters if the software making use of the XML document recognizes it and acts upon it. Like the only other attribute defined in the standard, xml:lang, it is only a signal of intent. The xml:space attribute is defined in the XML Standard (W3C Recommendation), White space handling. It could be there in an element in the source code because some developer inserted it as an experiment and But what the attribute means is obscured by the fact that it is often used for The xml:space="preserve" attribute is common in some XML documents.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |