>>>>> "Tim" == Tim Ringwood <[EMAIL PROTECTED]> writes:
Tim> I have one more question regarding XSL and the JSLT. Tim> I have two cases that appear logically to be the same Tim> but the first works and the 2nd doesn't. Tim> <c:import url="generic.xsl" var="xslt"/> Tim> <x:transform xslt="${xslt}"> Tim> <tim:myXMLTag /> Tim> </x:transform> Tim> <c:import url="generic.xsl" var="xslt"/> Tim> <c:import url="getXML.jsp" var="xml"/> Tim> <x:transform xml=${xml} xslt="${xslt}"/> Tim> Where getXML.jsp is a page that has a single line: Tim> <tim:myXMLtag /> Tim> Yet the 2nd version says have bad content in my Tim> prolog! And getXML.jsp does have some new lines before Tim> the <?xml ...> tag. But the same new lines should Tim> exist in the first example which doesn't care about Tim> them (and works fine). Do you really mean that "getXML.jsp" is a SINGLE line? You would need at least a taglib directive. Shawn's suggestion to print out the value of "xml" would likely show you that the value is "<tim:myXMLtag />". -- =================================================================== David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>