我尝试在Github评论中显示一些原始的XML代码,但是无论我如何尝试,都无法将其显示出来。当我粘贴并保存后,标签被解释掉了,只剩下内容。但该评论旨在展示发送给第三方应用程序所需的内容。
以下是我想插入评论中的内容。
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:Magento">
<soapenv:Header/>
<soapenv:Body>
<urn:catalogCategoryTree soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<sessionId xsi:type="xsd:string" xs:type="type:string" xmlns:xs="http://www.w3.org/2000/XMLSchema-instance">blablaa</sessionId>
<parentId xsi:type="xsd:string" xs:type="type:string" xmlns:xs="http://www.w3.org/2000/XMLSchema-instance">?</parentId>
<storeView xsi:type="xsd:string" xs:type="type:string" xmlns:xs="http://www.w3.org/2000/XMLSchema-instance">?</storeView>
</urn:catalogCategoryTree>
</soapenv:Body>
</soapenv:Envelope>
这是我向我的同事展示的内容。
soapenv:Header/
soapenv:Body
blablaa
?
?
/urn:catalogCategoryTree
/soapenv:Body
/soapenv:Envelope
有没有办法使我输入的内容显示出来?