At 12.15 05/01/2004 +0100, Mathias Mueller wrote:
Hi Alberto,

First: Happy New Year,

I am parsing X3D files with Xerces. For using the store data correctly I
have to decode the strings I get into specific datatypes like vectors.
Therefor I have to know the type and attribute is of. For now I have build
a map for the type and the name. It works but is quite complex and
additionally not all names map to only one type.

So it would be great, if I could get this information from Xerces.
Especially for the attributes with several possibly types it would ease
the work a lot.

If you use an XML Schema, you can then call getDOMTypeInfo on the DOM nodes to receive the datatype of attributes and elements (e.g. URI=http://www.w3.org/2001/XMLSchema type=float)


Alberto


Do you need more information?

with kind regards

Mathias

> Hi Mathias,
>
> At 08.57 16/12/2003 +0100, Mathias Mueller wrote:
>> > Hi Mathias,
>> >
>>[..]
>>Thanks Alberto,
>>
>>You mean I should use the xsd file instead of dtd? And I can get the
>>SFLoat information from the xsd?
>>
>>Could someone tell me how?
>
> Probably the best thing to do is that you give us more informations
> regarding what you need to achieve (i.e. why do you want to access the
> SFloat information); then we can think about what part of Xerces can be
> used to implement it.
>
> Alberto
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to