Changeset 1380
- Timestamp:
- Mar 21, 2012, 10:35:26 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fmts/trunk/p/C0XF2N.m
r1378 r1380 38 38 S @ZFARY@("C0XTN")=$NA(^C0X(101)) ; TRIPLES GLOBAL NAME 39 39 S @ZFARY@("C0XSN")=$NA(^C0X(201)) ; STRING FILE GLOBAL NAME 40 S @ZFARY@("C0XDIR")="/home/glilly/ fmts/trunk/samples/smart-rdf-in/"40 S @ZFARY@("C0XDIR")="/home/glilly/sage/test/" 41 41 S @ZFARY@("BLKLOAD")=1 ; this file supports block load 42 42 S @ZFARY@("FMTSSTYLE")="F2N" ; fileman style … … 235 235 ;S C0XDOCID=$$PARSE^C0CNHIN(ZRDF,"C0XARRAY") ; PARSE WITH MXML 236 236 S C0XDLC2=$$NOW^XLFDT ; START OF PARSE 237 I @ZRDF@(1)'["<?xml" D Q ; 238 . W !,"Not an XML file" 237 239 S C0XDOCID=$$EN^MXMLDOM(ZRDF,"W") ; 238 240 ;B … … 633 635 ; 634 636 SWUPDIE(ZFDA) ; SWITCH BETWEEN UPDIE AND BULKLOAD 635 . I $G(BLKLOAD)D ; bulk load636 . .D BULKLOAD(.ZFDA) ; bulk load the batch637 .E D ; no bulk load638 . .D UPDIE(.ZFDA)639 .K ZFDA637 I $G(BLKLOAD)=1 D ; bulk load 638 . D BULKLOAD(.ZFDA) ; bulk load the batch 639 E D ; no bulk load 640 . D UPDIE(.ZFDA) 641 K ZFDA 640 642 Q 641 643 ;
Note:
See TracChangeset
for help on using the changeset viewer.