[xml] libxml2 support for xml schema data types



I’m wondering if libxml2 supports XML Schema data types?


Something like:


<?xml version="1.0"?>

<weather xmlns="x-schema:weatherSchema.xml">







<Schema xmlns="urn:schemas-microsoft-com:xml-data" xmlns:dt="urn:schemas-microsoft-com:datatypes">

  <ElementType name="date" content="textOnly" dt:type="date"/>

  <ElementType name="degrees" content="textOnly" dt:type="float"/>

  <ElementType name="weather" content="eltOnly">

    <element type="date"/>

    <element type="degrees"/>




Can libxml2 figure out type of data in <date> and <degrees>?


I’d appreciate any help on this.


Please reply directly to: andricm @ cs.pdx.edu (in addition to mailing list)

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]