bram.labarque
Usenet Archive
- Joined
- Jul 5, 2006
- Messages
- 4
- Reaction score
- 0
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.
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.