Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
MattTJung committed Mar 13, 2024
1 parent e440b9b commit 1bd8c4f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/generate_oops_request_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ def generate_request_content(input_path):
with open(input_path, 'r', encoding='utf-8') as f:
rdfcontent = f.read()

xml_str = f"""<?xml version="1.0" encoding="UTF-8"?>\n
<OOPSRequest>\n
<OntologyURI></OntologyURI>\n
<OntologyContent><![CDATA[{rdfcontent}]]></OntologyContent>\n
<Pitfalls></Pitfalls>\n
<OutputFormat>XML</OutputFormat>\n
</OOPSRequest>
"""
xml_str = f"""<?xml version="1.0" encoding="UTF-8"?>
<OOPSRequest>
<OntologyURI></OntologyURI>
<OntologyContent><![CDATA[{rdfcontent}]]></OntologyContent>
<Pitfalls></Pitfalls>
<OutputFormat>XML</OutputFormat>
</OOPSRequest>
"""
return xml_str

if __name__ == '__main__':
Expand Down

0 comments on commit 1bd8c4f

Please sign in to comment.