473,385 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Q: literal comments in style sheet

I am examining xslt 1.0 (as documented at http://www.w3.org/TR/xslt).

I have seen notes elsewhere to a 1.1, but I don't see such a beast at the
above site. Is there an XSLT 1.1, (perhaps it is XPath 1.1 I have seen)
or am I just confused?

I am curious about some literal things in the style sheets.

Is there an option that controls the passing of _literal_ comments and
PI's to the output?

I know I could use xsl:comment to output a comment, but I am not trying to
output anything, I am just trying to make sure I understand the specs.

As far as I can see, literal comments and processing instructions in the
style sheet are never output.
--

This space not for rent.
Jul 20 '05 #1
2 1222
yf***@vtn1.victoria.tc.ca (Malcolm Dew-Jones) writes:
I am examining xslt 1.0 (as documented at http://www.w3.org/TR/xslt).

I have seen notes elsewhere to a 1.1, but I don't see such a beast at the
above site. Is there an XSLT 1.1, (perhaps it is XPath 1.1 I have seen)
or am I just confused?
There was a draft (still available from w3c site) but the working group
killed off work on xslt 1.1 to work on 2.0 (before they knew 2.0 was
going to take half a decade to align with xquery:-) A couple of xslt
systems (notably saxon 6.x do implement the 1.1 draft actually) but as
it will never be finalised now it's best to pretend that they don't.

I am curious about some literal things in the style sheets.

Is there an option that controls the passing of _literal_ comments and
PI's to the output?
No.

I know I could use xsl:comment to output a comment, but I am not trying to
output anything, I am just trying to make sure I understand the specs.

As far as I can see, literal comments and processing instructions in the
style sheet are never output.

True.

David
Jul 20 '05 #2
David Carlisle (da****@nag.co.uk) wrote:
: yf***@vtn1.victoria.tc.ca (Malcolm Dew-Jones) writes:

: > I am examining xslt 1.0 (as documented at http://www.w3.org/TR/xslt).
: >
: > I have seen notes elsewhere to a 1.1, but I don't see such a beast at the
: > above site. Is there an XSLT 1.1, (perhaps it is XPath 1.1 I have seen)
: > or am I just confused?

: There was a draft (still available from w3c site) but the working group
: killed off work on xslt 1.1 to work on 2.0 (before they knew 2.0 was
: going to take half a decade to align with xquery:-) A couple of xslt
: systems (notably saxon 6.x do implement the 1.1 draft actually) but as
: it will never be finalised now it's best to pretend that they don't.

: >
: > I am curious about some literal things in the style sheets.
: >
: > Is there an option that controls the passing of _literal_ comments and
: > PI's to the output?

: No.

: >
: > I know I could use xsl:comment to output a comment, but I am not trying to
: > output anything, I am just trying to make sure I understand the specs.
: >
: > As far as I can see, literal comments and processing instructions in the
: > style sheet are never output.
: >
: True.

: David

thanks

--

This space not for rent.
Jul 20 '05 #3

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

Similar topics

2
by: Mark | last post by:
Hi - I want to allow users of an intranet application, to select their own colours etc. So I have a tbale in my database, which has fields called bgcolour, fontcolour etc. As I want all pages...
2
by: TAM | last post by:
Hi, I have redesigned one html page by removing all the tables. You can see this test page at http://www.ngrain.com/css/home1.htm. Only home1.htm has been redesigned without tables. Rest of...
1
by: Stan Brown | last post by:
I've been experimenting with putting lists of short items into an inline style. Any comments would be welcome. URL: http://oakroadsystems.com/about/ The inline list is the "Contents" line...
19
by: Chris | last post by:
Hello all A new standards based and CSS designed site I recently completed is soon to go live. After much testing and tweaking I have fianlly managed to get the site to look as it should on...
3
by: Sam | last post by:
I wrote a script to show or hide items in an HTML list (<ul id="stuff">) depending on whether a list-item's CLASS attribute matches an input string (catString), which is chosen from a SELECT menu....
6
by: Joe | last post by:
I know that the Literal control will not render a <span> tag so I can not format its text. Other than this, what is the difference betwen the Literal control and the LiteralControl Control? How...
8
by: pamelafluente | last post by:
Hi guys, Is it possible to add "onload" (via Javascript) a new class to the <styleheader section? If yes, how would that be done ? <style type="text/css" media="screen"> .NewStyleClass{...
10
by: pamelafluente | last post by:
Hi, this time I am trying to add a style on the fly.I wish equivalency with this one (only the menuItemStyle line): <head> <style type="text/css" media="screen"> ... some static styles ......
4
by: fjm | last post by:
Hello everyone. I’d like to know how to handle multiple style sheets. I have css tabs that have a style sheet and then I also have a separate style sheet for the content that goes inside the tab. ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.