This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: unresolved problem using html
- From: "Stuart Celarier" <stuart at ferncrk dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 14 May 2002 13:50:31 -0700
- Subject: RE: [xsl] unresolved problem using html
- Reply-to: xsl-list at lists dot mulberrytech dot com
What you describe is possible, but you didn't provide enough details for
me to diagnose the problem. Try looking at the actual HTML (view source)
produced from the XSLT transformation and see if you can spot the error.
Otherwise post a very brief example of the code or the result that
exhibits the problem.
Make sure that you are using the <xsl:output method="html"/> element.
Read up on it if that is news to you.
You should become aware that XSLT builds a result tree, not the
serialized output document. From this standpoint, the string
"<b>TEXT</b>" looks like a string which happens to be valid HTML. It is
preferable to create an actual <b> element in the result tree; otherwise
you the risk of creating invalid HTML. Hope that gets you going.
See the document() function for including additional XML documents.
Cheers,
Stuart
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list