RE: help with entites in a schema
Chris, Thank you for the information. John -----Original Message----- From: Christopher Milton [mailto:cmiltonperl@y...] Sent: Saturday, January 14, 2006 2:18 PM To: Vines, John (Civ, ARL/CISD) Subject: Re: help with entites in a schema John, If you aren't going to use the &HeavyData; entity in the file, then there isn't much point to including the declaration. You might also check out a few articles on XML.com like: http://www.xml.com/pub/a/2001/01/31/qanda.html The above link is to article which includes discussion on using ENTITY, NOTATION and NDATA to include a GIF in an XML file. Chris --- "Vines, John (Civ, ARL/CISD)" <jvines@a...> wrote: > All, > I'm a newbie to XML and need some help. I'm designing a schema for > one of our data formats and have a question about entities. How do I > incorporate the "use" of an unparsed entity, in this case the entity > is an external HDF5 file which holds the data. Do I need to include the entity at all? > > We use Paraview to visualize most of our data, Paraview loads the XML > file and reads the data from the HDF file without issue. > > Here is XML file: > <?xml version="1.0" encoding="UTF-8"?> > > <!DOCTYPE Xdmf [ > > <!ENTITY HeavyData "C:/Documents and Settings/John Vines/My > Documents/Altova Projects/XdmfSchema/cone.h5"> > > ]> > > <Xdmf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:noNamespaceSchemaLocation="C:\Documents and Settings\John Vines\My > Documents\Altova Projects\XdmfSchema\XdmfSchemav2.xsd"> > > <Domain> > > <Grid Name="Unnamed"> > > <Topology Type="TRIANGLE" > > Dimensions="468"> > > <DataStructure > > DataType="Int" > > Dimensions="468 3" > > Format="HDF"> > > C:/Documents and Settings/John Vines/My Documents/Altova > Projects/XdmfSchema/cone.h5:/Unnamed/Connections > > </DataStructure> > > </Topology> > > <Geometry Type="XYZ"> > > <DataStructure > > DataType="Float" > > Precision="4" > > Dimensions="236 3" > > Format="HDF"> > > C:/Documents and Settings/John Vines/My Documents/Altova > Projects/XdmfSchema/cone.h5:/Unnamed/XYZ > > </DataStructure> > > </Geometry> > > </Grid> > > </Domain> > > </Xdmf> > > > > Thanks in advance, > > John > >
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format