Changeset 1368 for fmts/trunk/p/C0XRDF.m
- Timestamp:
- Feb 27, 2012, 11:51:28 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fmts/trunk/p/C0XRDF.m
r1367 r1368 39 39 I ZPRED[":" D Q ; 40 40 . I ZPRED="rdf:type" D Q ; 41 . . D ADD(ZARY,"rdf:type rdf:Resource="""_ ZOBJ_"""/>")42 . N ZA,ZB 41 . . D ADD(ZARY,"rdf:type rdf:Resource="""_$$EXT^C0XUTIL(ZOBJ)_"""/>") 42 . N ZA,ZB,ZC 43 43 . S ZA=$P(ZPRED,":",1) 44 44 . S ZB=$P(ZPRED,":",2) 45 . D ADD(ZARY,"<"_ZA_" xmlns="""_ZB_""">"_ZOBJ_"</"_ZA_">") 45 . S ZC=C0XVOC(ZA) 46 . D ADD(ZARY,"<"_ZB_" xmlns="""_ZC_""">"_$$EXT^C0XUTIL(ZOBJ)_"</"_ZB_">") 46 47 Q 47 48 ; … … 70 71 f s zi=$o(zary(zi)) q:zi="" d ; for each subject 71 72 . n zii s zii="" 72 . D DICTSTART("rdfout", zi)73 . D DICTSTART("rdfout",$$EXT^C0XUTIL(zi)) 73 74 . f s zii=$o(zary(zi,zii)) q:zii="" d ; for each pred^obj pair 74 75 . . d DASSERT("rdfout",$p(zii,"^",1),$p(zii,"^",2))
Note:
See TracChangeset
for help on using the changeset viewer.