Results 1 to 3 of 3

Thread: html code

  1. #1
    Join Date
    Jul 2003

    Question html code

    hello; I have a problem which relates to code HTML in a document XML; to have the outline of code HTML I use a style sheet xsl but that succeeded not: for example when I have the data:
    <data> <p>hello</p><strong> world </strong> <br/> </data>
    with the sheet xsl, the apperçu will be:
    <p>hello</p><strong> world </strong> <br/>
    but it is not the code which I want me! if you have an idea, thank you.

  2. #2
    Join Date
    Dec 2002
    Calgary, Canada
    I am sorry,but I am not able to make much sense out of your question can you please elaborate?


    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources

  3. #3
    Join Date
    Aug 2003
    London, United Kingdom
    Hi Amel,

    As I said earlier, if you're working with special characters which xml would parse, you can use CDATA sections or do this:

    <xsl:value-of select="." disable-output-escaping="yes"/>

    This will preserve any HTML tags you have in your node. Please note though that this will not produce well-formed xml (or in this case xhtml).

    If this is what you're looking for, I can send you a simple but complete example on this.

    You might as well just check out some French site on xml.
    Or you can email me in French about your xml questions, I can deal with it.

    Last edited by lillu; 09-08-2003 at 08:26 AM.
    You end up being who you are.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles