This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: <BR> a problem for XALAN?
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: <BR> a problem for XALAN?
- From: "Medina, Edward" <emedina at btg dot com>
- Date: Thu, 10 Aug 2000 18:47:00 -0400
- Reply-To: xsl-list at mulberrytech dot com
Thanks everyone for the information!
:>I don't remember whether HTML is officially uppercase or lowercase,
:>but I wonder whether the version you're using doesn't match the
:>version which is being detected.
:
:Actually, Section 16.2 of XSLT requires that the HTML tags that are
:subject to special treatment, such as <BR>, must be recognized in
:any case combination.
:.................David Marston
I did get it working, and guess what it wasn't the parser.
Nope, it was the code writer's fault. Yes and thanks to
Scott Boag I realized what I was missing which was the
stupid output. Although I would like to blame the parser,
it was the stupidity of the HUMAN FACTOR (ME). That's what
happens when you cut an paste (lazy stupid Developer, that being
me of course).
However, one interesting note for you folks out there. Is there
a reason why XALAN won't recognize the following:
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:dppo="dppo"
xmlns:c="file:/class/null">
<c:classif TS="T O P S E C R E T"/>
<c:classif S="S E C R E T"/>
<c:classif C="C L A S S I F I E D"/>
Code omitted for readability....
<xsl:template match="/">
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<xsl:apply-templates />
</BODY>
</HTML>
</xsl:template>
xsl:template match="dppo:document">
<!-- The CODE between the comments does not display when parsed
through XALAN -->
<xsl:variable name="c"
select="//@dppo:secur.classif"/>
<xsl:value-of select="document(' ')/*/c:classif/@*
[name(.)=$c or name()='X']
[1]"/>
<!-- Granted it could be ME being stupid again and forgetting
something, but I didn't think I forgot anything this time
-->
<br/>
<br/>
<SPAN style="
width: 100%">
<IMG
SRC="http://dppo4/opt/app/dppo/images/disp_jsr_banner.gif"/>
<xsl:apply-templates />
</SPAN>
</xsl:template>
Remaining Code omitted...
</xsl:stylesheet>
Any ideas will help, even if you don't think they could.
Thanks again to everyone who responded.
Eddy
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list