HTML tags within XML

Tureorbisse

New Member
I would like to use html tags in the XML file so in my xsd file, I have allowed the html formatting by:\[code\] <xs:element name="description"> <xs:complexType mixed="true"> <xs:sequence> <xs:any namespace="http://www.w3.org/1999/xhtml" processContents="lax" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> </xs:element>\[/code\]and in my XML file\[code\]<description> <p xmlns="http://www.w3.org/1999/xhtml"> This course is an introduction to the information technologies required for secure, practical information systems for electronic commerce.Topics will be chosen from areas such as document representation (XML, DTDs, XML Schema, XSLT, CSS), </p> security (encryption, public key, symmetric key, PKI, authentication); kinds of attack and vulnerabilities, electronic trading (spontaneous, deliberative, auctions), electronic document management (metadata, search, digital libraries, management and processing), recent developments and maturation of the area, such as web application frameworks, web services, the semantic web , mobile commerce </description>\[/code\]However, when I change it to HTML file, it does not show anything! (no p)I could not put html tags in xsl file because I wanted to divide contents within the description tag (one element of XSD). If there is any novel way I would accept it.At first, even \[code\]<p xmlns="http://www.w3.org/1999/XHTML">\[/code\] did not work and I putprocessContents="lax"and it worked fine but still displaying one whole bunch of paragraph (so \[code\]<p>\[/code\] does not really work)How can I make it work?
 
Back
Top