[DDI-users] Adding tags to the DDI

Andrew L Arnott Relate_Webmaster at byu.edu
Mon Jan 19 16:10:18 EST 2004


I'm fairly new to DDI, and moderately new to XML schemas.  I am using the
DDI 2.0 schema (XSD) file to validate incoming DDI files on the web.  My
problem is that DDI (apparently) does not have tags to make some variables
conditional on the values of other variables.  I have tried to write another
schema and do something like this:

<ddi:var ID="V1" .>

            <myExt:if var="v5" equals="1"/>

            <labl>.</labl>

</ddi:var>

 

But the DDI schema doesn't allow for unknown elements, I guess.  Can anyone
suggest how I can get around this problem?  If you know a different approach
to my problem, I'd be very open to it.  

 

Thanks,

Andrew Arnott

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lion.icpsr.umich.edu/pipermail/ddi-users/attachments/20040119/6c0fd432/attachment.htm


More information about the DDI-users mailing list