devel > Re: [gifti-devel forum] Re: [gifti-devel forum] updated caret gifti files
Showing 1-1 of 1 posts
Display:
Results per page:
Dec 3, 2009  03:12 PM | John Harwell
Re: [gifti-devel forum] Re: [gifti-devel forum] updated caret gifti files
Rick,

For validating the GIFTI file against an XML schema, these two =
attributes are used:

* xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"
* =
xsi:noNamespaceSchemaLocation=3D"http://brainvis.wustl.edu/caret6/xml_sche=
mas/GIFTI_Caret.xsd"

If the XML schema has a namespace, a third attribute is added:

* xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"
* =
xsi:schemaLocation=3D"http://brainvis.wustl.edu/caret6/xml_schemas/GIFTI_C=
aret.xsd"
* xmlns:=3D"http://brainvis.wustl.edu/caret6/xml_schemas"


So, I suppose these are the optional attributes of a GIFTI element for =
XML Schemas:

* xmlns:xsi
* xsi:noNamespaceSchemaLocation
* xsi:schemaLocation
* xmlns

When I read a GIFTI file, I check for specific attributes on elements. =
If there are other unexpected attributes, I ignore them.

John