[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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
output html xml
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.