Search 5,000,000+ questions and answers.

Frequently Asked Questions

Can I include id and xsi:type attributes in the SRW elements?

SRW FAQ
Yes, you probably can get away with this, but if you can strip them out it's more likely to be interoperable. Some toolkits may have a bad day with them as they're not strictly referenced in the schema.
Related Questions

Why do you use all these elements instead of attributes?

MusicXML FAQ (Frequently Asked Questions)
This is mainly a stylistic decision. Several XML books advise representing semantics in elements rather than attributes where possible. One advantage of doing this is that elements have structure, but attributes do not. If you find that what you are representing really has more than one part, you can create a hierarchical structure with an element. With attributes, you are limited to an unordered list.
Related Questions

What are the xmlns:xsi and xsi:schemaLocation attributes for?

PFIF FAQ and Implementation Guidelines
These attributes are not required by the PFIF specification, but can help validation tools validate XML documents. For example, Altova's XML Spy, an XML editor and validator, recognizes these attributes and can use them to validate a PFIF document against the PFIF XML Schema. The example PFIF document shows how to use these attributes to tell readers of a PFIF document where to find the XML Schema for the document.
Related Questions

Why are there no elements of the type DateTime?

Frequently Asked Questions (FAQ) -- Global Justice XML Data ...
During analysis of the data requirements sources, the GXSTF found no evidence of the mandatory use of date and time together. Many sources had defined both date and time components, but there were no components of the type DateTime. The XML Schema DateTime type uses ISO 8601 format and does not permit the option to use either date or time without the other. This means that if a component is of type DateTime, then both date and time are significant and must be present.
Related Questions

What are attributes?

Andy Mc's .NET Framework FAQ
There are at least two types of .NET attribute. The first type I will refer to as a metadata attribute - it allows some data to be attached to a class or method. This data becomes part of the metadata for the class, and (like other class metadata) can be accessed via reflection. An example of a metadata attribute is [serializable], which can be attached to a class and means that instances of the class can be serialized.
Related Questions

Frequently Asked Questions - WekaWiki
See the section Instance ID in the Troubleshooting article for more information of how to use attribute IDs in Weka.
Related Questions

What is the difference between the id and resname attributes?

OASIS XML Localisation Interchange File Format TC
The id attribute is used to link a <trans-unit> or an inline element to its original location in the source file from which the XLIFF document was produced. The id attribute values are determined by the tool that created the extracted document, they may or may not be the same as the values of the resname attribute. The resname attribute holds the original identifier of the text item extracted in the <trans-unit> element.
Related Questions

Which should I use in my DTD, attributes or elements?

Frequently Asked Questions about the Extensible Markup Langu...
There is no single answer to this: a lot depends on what you are designing the document type for. The two extremes are best illustrated with examples.
Related Questions

Why elements vs attributes?

MorphML FAQ
Ah, the perennial XML issue... Some elements of morphml are necessarily XML elements because XML Schema's unique/ref/keyref mechanisms do not work with attributes. The jury is still out on whether some elements should become attributes to avoid the mangling of whitespace by users and/or parsers.
Related Questions

How do I get/set the attributes of an element from the Elements collection?

NSERC/Alberta Construction Industry Research Chair || Simpho...
If the element you want the data from is number 2 and the attribute is "Comment" then get... formula_1_Quantity = SimEnvironment.Elements(2).attr("Comment").Value and set... SimEnvironment.Elements(2).attr("Comment").Value =5
Related Questions

How to define an empty element type with/without attributes?

JavaChina: FAQ on XML by Roseanne Zhang
No elements, mixed is false by default. Attributes can be added or removed. See more explanations at Understanding W3C Schema Complex Types. Attention: it is a complexType with complexContent. If you are sure you don't have attribute, simpleType can work, but it will look more complicated.
Related Questions

How can I declare XML namespaces so that all elements and attributes are in their scope?

rpbourret.com - XML Namespaces FAQ
XML namespace declarations that are made on the root element are in scope for all elements and attributes in the document. This means that an easy way to declare XML namespaces is to declare them only on the root element. For example: <Department xmlns:addr="http://www.tu-darmstadt.de/ito/addresses" xmlns:serv="http://www.tu-darmstadt.de/ito/servers"> <Name>DVS1</Name> <addr:Address> <addr:Street>Wilhelminenstr.
Related Questions

Where do I find the list of elements or attributes for specification X?

W3C Webmaster FAQ
Specifications index elements differently. Most specifications include one or more DTDs, or document type definitions. A DTD defines the syntax of a language in technical terms. Some XML specifications include XML Schema definitions; a schema is another way to define the syntax of a language. Some specifications also include a simple list of element and attribute names for convenience. W3C does not have a page where all of the elements and attributes of all W3C specifications are listed.
Related Questions

How to use attributes to unify different elements becoming similar structure?

JavaChina: FAQ on XSLT by Roseanne Zhang
XML sourece <Address> <BillingAddress> <firstname>John</firstname> <lastname>Smith</lastname> <addr1>12345 main st.</addr1> <addr2></addr2> <city>US Town</city> <zip>12345</zip> </BillingAddress> <ShippingAddress> <firstname>Gong</firstname> <lastname>Shi</lastname> <addr1>ABC Co.</addr1> <addr2>321 A Ave.
Related Questions

How to reformat all numeric value of elements and attributes in an XML with 5 decimals?

JavaChina: FAQ on XSLT by Roseanne Zhang
XML sourece <AAA> <BBB> 4.33 <CCC id="1.2">12345</CCC> <CCC id="2.2">ABC</CCC> <CCC id="3.6">0.334</CCC> <AAA id="4.34"/> 5.67 </BBB> <CCC id="5.1">CCC4</CCC> <CCC id="6.3">56</CCC> </AAA> XSLT sourece <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.
Related Questions

What is the XSI-ModTool?

Noesis Interactive | Faq
The SOFTIMAGE|XSI Mod Tool gives you full access to all of the professional character creation features available in the industry's only completely non-destructive character workflow - SOFTIMAGE|XSI. This free game modification utility guides 3D professionals, as well as experienced modders and novices, through all of the features and functionality for building and texturing artwork in XSI and for creating and rigging characters, props, and environmental elements.
Related Questions

Why are so many type attributes not given fixed values?

Topics: BPGDTD4-0 FAQ
Attribute values can be limited in the DTD so that only one value from a list can be specified e.g. <!ATTLIST document sequence CDATA #REQUIRED type CDATA #REQUIRED referencetype (harvard | vancouver) #IMPLIED> A lot of elements in DTD 4 type attributes which can accept any text value (CDATA). Examples of this are namegroup and externallink.
Related Questions

How would you find the attributes of a data type or data object?

SAP REPORTS questions and answers ...SAPBRAIN
If a field string is aligned (Left, centered, right justified etc.), the filler fields are also added to the length of the type C field. (T/F). You cannot assign a local data object defined in a subroutine or function module to a field group. (T/F) Field group reserves storage space for the fields, and does not contain pointers to existing fields (T/F).
Related Questions

What elements should I include in an animal protocol?

Vertebrate Animals in Research -- NIAID Funding Questions an...
A standard animal protocol includes a project description, justification for the use of animals, a consideration of alternatives to animal use, animal procedures, staff qualifications, and endpoint criteria. See Write Your Protocol for a description of these protocol elements.
Related Questions

What do the essential elements of CPE include?

Student_FAQs
middot; The CPE program must be conducted under the auspices of an ACPE certified supervisor (faculty) attached to an ACPE accredited CPE center.
Related Questions

How do I write a query for namespace qualified elements/attributes in Jaxen?

jaxen: universal Java XPath engine - FAQ
The XPath expression that selects elements or attributes in a namespace looks exactly the same as it does in any other XPath context; that is, use prefixed names where the prefixes are bound to the namespace URIs. For example, However, because a Java program is not an XML document, it is also necessary to bind the prefixes to the appropriate namespace URIs through a NamespaceContext object.
Related Questions

How do I write a query for namespace qualified elements/attributes in the default namespace?

jaxen: universal Java XPath engine - FAQ
The same way you do for elements and attributes that are in prefixed namespaces. That is, you use a prefix in the XPath expression and bind the prefix to the namespace URI. You do this even if the document you're querying uses unprefixed namespaced qualified names. In XPath 1.0, all unprefixed names are unqualified. There is no requirement that the prefixes used in the XPath expression are the same as the prefixes used in the document being queried.
Related Questions

Why does XMLout() insert <name> elements (or attributes)?

XML::Simple::FAQ
When you call XMLin() to read XML , the ’keyattr’ option controls whether arrays get ’folded’ into hashes. Similarly, when you call XMLout(), the ’keyattr’ option controls whether hashes get ’unfolded’ into arrays. As described above, ’keyattr’ is enabled by default.
Related Questions

Why do I have to include a copy of my ID-card?

CFNSE-D
This is a preventive feature, which helps deter multiple test submissions from one person under different (false) names. Please contact the administrator and provide as much of the following information as possible: Full name, Age, Sex, Date of submission, Nationality. The more information you provide the easier it will be to find the missing score report. Knowledge about simple mathematic operations is all that is needed in order to solve the mathematical part of the numerical items.
Related Questions

How does the library identify Id attributes?

Frequently Asked Questions - C++
During a signing operation, finding the correct Id attribute is vital. Should the wrong Id Attribute be used, the wrong part of the document will be identified, and what the user signs will not be what they expect to sign. The preferred method (and the method the library uses first) of finding an Id is via the DOM Level 2 call DOMDocument::getElementById(). This indicates to the library that the Id has been explicitly identified via a schema, DTD or during document building.
Related Questions

Frequently Asked Questions
Wisdom (How fast you can learn street and day-to-day skills (e.g. Culture, Blades) and how much you know) Intelligence (How fast you can learn book skills (e.g. Anthropology, Mathematics) and how much you know) Charisma (How attractive you are, how easy it is for you to lure NPCs and players to do things for you) These can change if you practice skills related to those attributes.
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact