473,588 Members | 2,621 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:styleshe et 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:styleshe et 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 1260
In article <11************ **********@g47g 2000cwa.googleg roups.com>,
ws******@comcas t.net <ws******@comca st.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
4519
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 errors, but for this project I don't have access to the php.ini.
1
1543
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
18933
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
3778
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 qualified. Kevin
1
3533
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 ideas what I am missing? Some source code to help:
1
1024
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
1656
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
1464
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
1333
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
7927
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8352
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7981
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8222
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6632
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5723
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5396
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3846
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3882
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.