Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


xml -> xslt -> xhtml, browser-side not rendering, put in pre tags.

From: bram.labarque@-----.---
To: NULL
Date: 7/5/2006 9:31:00 AM

Hello all,
The parsing should happen at the browser. I have three files:

1) Initial file: xml with some data and a pointer to an xsl.

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="Test05_Base.xsl"?>
<employee>
	<surname>Philips</surname>
	<rgn>R</rgn>
</employee>

2) the xsl which in turn reads the xhtml.

	<xsl:template match="/">
		<xsl:value-of disable-output-escaping="yes"
select="document('Test05_BaseLoggedOff.xhtml')/." />
	</xsl:template>

3) the xhtml.

The parsing does take place but the html-elements from the xhtml are
not copied along.
I only see the text which is inside the xhtml. All the text from the
xhtml seems to be put inside a pre tag. I did't put it there.
Btw that pre tag also has a id="transformiixResult" attribute (from
firefox?).
How do i copy the tags from the xhtml along with the text and avoid the
pre tag?

Can somebody help? Thanks a lot.
Greetings, Bram.



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent