Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RDF Schema Definition?

Status
Not open for further replies.

tradle

Programmer
Jan 7, 2004
94
US
Given the following:

<x:xmpmeta xmlns:x='adobe:ns:meta/'>
<rdf:RDF xmlns:rdf=&quot; xmlns:ncb=&quot;//ohclesql1026/ncb/metadata/&quot;
xml:space=&quot;preserve&quot;>
<rdf:Description rdf:about=&quot; &quot; xmlns:ncb=&quot;//ohclesql1026/ncb/metadata/&quot;>
<ncb:CompTime>COMP_TIME|</ncb:CompTime>
<ncb:pkgSeq>PKG_SEQUENCE|0000001</ncb:pkgSeq>
<ncb:StmtSeq>STMT_SEQUENCE|0000001</ncb:StmtSeq>
<ncb:Mail1>MAIL_TO1|GOODYEAR_TIRE;</ncb:Mail1>
<ncb:Mail2>MAIL_TO2|BLANCHE;</ncb:Mail2>
<ncb:Mail3>MAIL_TO2|GLOBAL_BENEFIT_FINANCING;</ncb:Mail3>
<ncb:Mail4>MAIL_TO2|MARKET_STREET;</ncb:Mail4>
<ncb:Mail5>MAIL_TO2|OHIO-0001;</ncb:Mail5>
<ncb:Mail6>MAIL_TO2|</ncb:Mail6>
<ncb:InsMap>INSERT_MAP|Y</ncb:InsMap>
<ncb:InsId>INSERT_ID|10001770</ncb:InsId>
<ncb:AcctId>ACCOUNT_ID|CN000082</ncb:AcctId>
<ncb:paperCde>PAPER_CODE|10001453</ncb:paperCde>
<ncb:EnvCde>ENV_CODE|10001538</ncb:EnvCde>
<ncb:SpecHand>SPECIAL_HANDLING|N</ncb:SpecHand>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>

...I need to write a schema where each of the <ncb:...> elements come from a MSSQL database. What would the syntax be? I'm having no luck in deciphering the schema definitions from the w3c in regard to this definitions need.

And, if you'd be so kind, could you tell me what I did wrong in terms of my whitespace declaration? I have underscores in there just so that I could generate a (barely) well-formed document.

Thanks!
Tim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top