473,509 Members | 3,095 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

The output of xml

Hello I have transformed the XML to XHTML document and would like to
validate the output, how can I save the XML output result (XHTML)? I
transform it on client side. And the server-side transformation always
eliminate a slash, for example if I want the result be <img src="a.gif" />,
the result will always be <img src="a.gif"> without the slash. The server is
running Apache with cocoon. Anyone could help on that, thank you.
Jul 20 '05 #1
2 1214


Zhou Lei wrote:
I have transformed the XML to XHTML document and would like to
validate the output, how can I save the XML output result (XHTML)? I
transform it on client side.
IE 6 uses MSXML 3 to do XSLT 1.0 transformations, you can write a simple
script or VB program to perform the transformation with MSXML and write
the result to a file which you can validate.
And the server-side transformation always
eliminate a slash, for example if I want the result be <img src="a.gif" />,
the result will always be <img src="a.gif"> without the slash. The server is
running Apache with cocoon.


That sounds as if you get the XSLT output method html instead of xml so
perhaps you need to add
<xsl:output method="xml" />

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 20 '05 #2

"Martin Honnen" <ma*******@yahoo.de> ????
news:42**********************@newsread2.arcor-online.net...


Zhou Lei wrote:
I have transformed the XML to XHTML document and would like to
validate the output, how can I save the XML output result (XHTML)? I
transform it on client side.


IE 6 uses MSXML 3 to do XSLT 1.0 transformations, you can write a simple
script or VB program to perform the transformation with MSXML and write
the result to a file which you can validate.
> And the server-side transformation always
eliminate a slash, for example if I want the result be <img src="a.gif" />, the result will always be <img src="a.gif"> without the slash. The server is running Apache with cocoon.


That sounds as if you get the XSLT output method html instead of xml so
perhaps you need to add
<xsl:output method="xml" />

--

Martin Honnen
http://JavaScript.FAQTs.com/


Okay thank you, but I know about writing a script and a VB program, and
adding method does not work...
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
8120
by: Mark Wilson CPU | last post by:
This must be easy, but I'm missing something... I want to execute a Perl script, and capture ALL its output into a PHP variable. Here are my 2 files: -------------------------------------...
3
2770
by: edgekaos | last post by:
Is method 2 valid? Method 1: wstring input = L"STRING"; wstring output = input; transform(output.begin(), output.end(), output.begin(), towupper); Method 2: wstring input = L"STRING";...
4
15037
by: Kevin Mansel via .NET 247 | last post by:
Ok, basically this is my problem. I'm building a console app tocall a dos program. So i'm using the Shell command to call theprogram, now depending on what happens, I want to read theoutput that...
24
2665
by: kalamantina | last post by:
#include "stdafx.h" #include <stdio.h> #define output( x ) printf( #x "\r\n" );fflush( stdout ) class CMyBase { public: CMyBase() { output( CMyBase() ); f(*this);
0
2051
by: newbie | last post by:
i'm a newbie of c language. can anyone help me to implement the code so that I can get the ciphertext from the output. thanks. #ifndef _3DES_H #define _3DES_H #ifndef uint8 #define uint8 ...
32
2737
by: spibou | last post by:
Is the output of the C preprocessor deterministic ? What I mean by that is , given 2 compilers which conform to the same standard, will their preprocessors produce identical output given as input...
3
2613
by: MatsL | last post by:
Hi, This is seriously driving me crazy, could anyone explain to me why neither of these doesn't produce XHTML compliant output (it is being called in Render() btw): output.WriteLine("<img...
3
4641
by: undshan | last post by:
I am writing a code that needs to open a file, create an output file, run through my function, prints the results to the output file, and closes them within a loop. Here is my code: #include...
5
3313
by: amit.uttam | last post by:
Hey everyone, I've recently jumped big time into python and I'm working on a software program for testing automation. I had a question about proper logging of output. What I would like is: 1....
2
3358
by: gabosom | last post by:
Hi! I've been breaking my head trying to get the output variables from my Stored Procedure. This is my SP code CREATE PROCEDURE GetKitchenOrderDetail( @idService int, --outPut Variables ...
0
7344
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7069
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7505
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5060
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3216
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3203
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1570
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
441
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.