473,513 Members | 2,620 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Supress output

Does anyone know how to create a stylesheet that will suppress all
output. I use to use

<?xml version="1.0"?>
<!--
EmptyResult.xsl

-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
</xsl:stylesheet>

but now we have to conform to the new XSL standard I've tried

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
</xsl:stylesheet>

But that displays all the XML as text. I want to suppress everything
and just display an empty page that I already have some HTML text on.

Thanks

Feb 14 '06 #1
1 1250
In article <11**********************@g47g2000cwa.googlegroups .com>,
ws******@comcast.net <ws******@comcast.net> wrote:
but now we have to conform to the new XSL standard I've tried
New? 1999 is new?
But that displays all the XML as text. I want to suppress everything
and just display an empty page that I already have some HTML text on.


Put in an empty template for the root node:

<xsl:template match="/"/>

-- Richard
Feb 14 '06 #2

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

Similar topics

1
4514
by: LRW | last post by:
I'm creating a simple reply form, and if a form item isn't answered I get an error: "Notice: Undefined index: rb_amntspent in c:\inetpub\wwwroot\mackinaw\survey.php on line 36" even if in the code I allow for an unselected item. (Code at the bottom here.) It works fine otherwise. Now in the past I've made a change to php.ini to repress...
1
1536
by: roderik | last post by:
How do I supress the output generated from each psycopg command: >>> import psycopg initpsycopg: initializing psycopg 1.99.10 typecast_init: initializing NUMBER .. .. microprotocols_add: cast 0x46dd20 for (bool, ?) initpsycopg: module initialization complete
3
18920
by: foldface | last post by:
Hi I have a dynamically constructed sql query that I want to execute, e.g. exec('select * from ' + @tablename) (1) Can I suppress the output somehow if this returns no values? (2) Can I use the result of this query in another query somehow? e.g. select (3) Can I control the size of the columns in the output somehow Thanks
2
3774
by: Kevin C | last post by:
Is there a way to suppress the rendering of the xml processor instruction when using the XmlSerializer? I do not want "<?xml version="1.0"?>" to be written out. Also, do classes generated from XSD.EXE care about the value of "elementFormDefault". I don't see anywhere in a class any references to this attribute. I need the elements to be...
1
3524
by: David | last post by:
I have a custom control that contains a class that Inherits the panel control. I am trying to catch a keydown event in this class and then supress it from the rest of the control as well as the form that hosts the control. The problem I am running into is that the form that hosts the control will respond to the keydown event event. Any...
1
1018
by: chandu | last post by:
hi i am using one dll in my application.in runtime the dll displays a dialog box for output location.but i wont to give the output location through my code. can any body give me suggetion how to do or atleast how to proceed. thanks in advance
1
1653
by: pulkit_a | last post by:
Hi All, I have to select some data from my table but i don't want column names to come in the output. Can any one help me and guide me how can the couln names be suppressed in the output of the select query. Regards
6
1457
by: patrik.nyman | last post by:
Suppose I have the following xml-text: Some text before.<A/> <B>Text in the B-element.</B> Some text after. And I want: Some text before. <C>Text in the B-element.</C>
2
1327
by: khani | last post by:
Hi i have following situation in cystal report in detail section i have a field say name.now i have five duplication record like this zahid zahid zahid zahid
0
7270
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7178
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7125
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7543
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5703
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4757
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
1612
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 we have to send another system
1
813
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
470
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.