[XSL-LIST Mailing List Archive Home]
RE: [xsl] unresolved problem using html
Subject: RE: [xsl] unresolved problem using html|
From: "Stuart Celarier" <stuart@xxxxxxxxxxx>
Date: Tue, 14 May 2002 13:50:31 -0700
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.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list