Hi Andrew, You can get [1] the list [2] of values from the PSVI [3]. Through the DOM API they're only accessible as strings.
Thanks. [1] http://xerces.apache.org/xerces2-j/javadocs/xs/org/apache/xerces/xs/ItemPSVI.html#getActualNormalizedValue() [2] http://xerces.apache.org/xerces2-j/javadocs/xs/org/apache/xerces/xs/datatypes/ObjectList.html [3] http://xerces.apache.org/xerces2-j/faq-xs.html#faq-6 Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] "Andrew Cox" <[EMAIL PROTECTED]> wrote on 07/26/2007 07:06:55 AM: > Hi, > > I'm trying to make a decision about whether to encode small arrays as > lists or sequences of elements. > > The question I have is, if I define a short list type in a schema which > would accept content like that below, will the DOM API expose the > internal structure of the list in the element body and attribute? What I > imagine is that via the DOM API, the two lists will be returned as > strings, requiring manual splitting in user code. What I would like is > for tree traversal to step into and iterate along the lists. > > <float3> 1.0 2.0 3.0 </float3> > <other_float3 value="1.0 2.0 3.0"/> > > Any insights much appreciated. > > Best, > Andrew --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]