简体   繁体   中英

How to display these XML info on the html page using javascript

I would like to know how I would display this type of info on an html page. Using javascript and nodejs if possible

<wsdl:definitions xmlns:http="http://schsdsdsdsdsdsemas.xmlsodsddsdsdsdsdsdap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://sdksdsd.net/Asdsdsd/_5/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schesddsdsdsdmas.xmlsoap.org/wsdl/mime/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://usdsdssdsdtsdsdsotasdssdsdsk.net/ATWS/v1_5/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://autotask.net/ATWS/v1_5/">
<s:element name="GetAttachment">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" mars="1" name="attachmentId" type="s:long"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetAttanse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetAtResult" type="tns:Attachment"/>
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="Attent">
<s:sequence>
<s:element minOccurs="0" mars="1" name="Data" type="s:base64Binary"/>
<s:element minOccurs="0" Ocrs="1" name="Info" type="tns:AentInfo"/>
</s:sequence>
</s:complexType>

try this to edit your xml and manage in html

https://www.w3schools.com/xml/xml_parser.asp

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM