xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Output HTML as Content of XML Elements


Subject: Output HTML as Content of XML Elements
From: "Sellmer-Brüls, Barbara" <B.Sellmer-Bruels@xxxxxxxxxxx>
Date: Fri, 25 Aug 2000 12:13:39 +0200

Imagine the following context:

There is an XML file  whch already contains HTML markup.
I want the HTML markup to be passed undamaged through an XSL transformation
and to be output in the final HTML document:

We XML/XSL process the data as follows:
1. transformation:
XSLT of source XML file (= database content), add HTML markup during this
first transformation,  output to a target interim XML file (including the
HTML markup), which looks eg. like this:

<books>
  <shorttitle>Shakespeare, William: Hamlet</shorttitle>
  <promotion_text>bla bla. Our most recent publication on
<B>Hamlet</B>.</promotion_text>
</books>


2. transformation:
XSLT of previous target XML to HTML output file: and here we need the Markup
created during the first transformation.

Problem.
During the second transformation the markup is stripped from the XML output.
So the resulting HTML file does not include any markup, which is NOT my
intention. I tried to use namespaces and the result-ns attribut but without
success. Perhaps I did it the wrong way?


Thanks, for any ideas.
Barbara Sellmer-Bruels
Berlin


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor