Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > xml -> xslt -> xhtml, browser-side not rendering, put in pre tags.

Reply
Thread Tools

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

 
 
bram.labarque@gmail.com
Guest
Posts: n/a
 
      07-05-2006
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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xml -> xslt -> xhtml, browser-side not rendering, put in pre tags. bram.labarque@gmail.com XML 5 07-06-2006 07:15 AM
Re: OT: Graphic poetry begins (pre-hotspot, pre-poetry) Will Dockery Digital Photography 4 06-01-2005 12:00 AM
Pre-Send Request Headers, Pre-Send Request Content =?Utf-8?B?S2V2aW4gQnVydG9u?= ASP .Net 0 12-31-2004 06:29 PM
How to indent a normal or a <PRE>....</PRE> text in HTML? Wladimir Borsov HTML 7 05-05-2004 07:13 AM
RegEx for changing linefeeds to <BR> except between <PRE></PRE> tags? Rocky Moore ASP .Net 7 01-14-2004 09:43 PM



Advertisments