473,396 Members | 1,966 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,396 software developers and data experts.

how do i put remark notes in xsl

a very simply question:

how do i put remark notes in xsl source code?
Nov 11 '05 #1
5 8869

"Microsoft" <bo****@neteon.net> wrote in message
news:Oy**************@TK2MSFTNGP09.phx.gbl...
a very simply question:

how do i put remark notes in xsl source code?


You mean a comment node into the xslt source code or to generate comment
nodes in the resulting output?

The former is just using standard xml comments:

<!-- This is a coment -->

The latter is achieved using the

xsl:comment

instruction.
=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL
Nov 11 '05 #2
Ken
<!-- I do it that way but sometimes it kicks back an error I forget what the
error is something like "line #23sample23" what ever line you commented in
source considered rephrasing or something like that when you load the
compiled page in IE ASP .NET, I think it only does it when there it code
withing the comment, even tho- the hole comment it marked green as a comment
in VS .NET 03 it still kickes this error some tines if not al the time I
jest stoped making comments with code with in the comment I dont know sucks,
I think you can jest use words in comments ONLY why I don't know -->

Example <!-- words work fine -->
Example <!-- words with code <div class="FooterText"
align="center"><asp:Placeholder id="Footer" Runat="Server"/>&nbsp;</div>
dont work -->

What is get's marked as a good comment in VS.NET 03 I dont know!!!

"Dimitre Novatchev" <dn********@yahoo.com> wrote in message
news:bm************@ID-152440.news.uni-berlin.de...

"Microsoft" <bo****@neteon.net> wrote in message
news:Oy**************@TK2MSFTNGP09.phx.gbl...
a very simply question:

how do i put remark notes in xsl source code?


You mean a comment node into the xslt source code or to generate comment
nodes in the resulting output?

The former is just using standard xml comments:

<!-- This is a coment -->

The latter is achieved using the

xsl:comment

instruction.
=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL

Nov 11 '05 #3
> Example <!-- words work fine -->
Example <!-- words with code <div class="FooterText"
align="center"><asp:Placeholder id="Footer" Runat="Server"/>&nbsp;</div>
dont work -->


Both are syntactically correct comments.

The problem, therefore is not in the comments.
=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL
Nov 11 '05 #4
ok, I found my problem,
if i use <!-- words work fine --> , it's ok,
if i use <!----------- words work fine ------------->, it cause error,
the "--" can use only two chars, no more no less.
"Dimitre Novatchev" <dn********@yahoo.com> wrote in message
news:bm************@ID-152440.news.uni-berlin.de...
Example <!-- words work fine -->
Example <!-- words with code <div class="FooterText"
align="center"><asp:Placeholder id="Footer" Runat="Server"/>&nbsp;</div>
dont work -->


Both are syntactically correct comments.

The problem, therefore is not in the comments.
=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL

Nov 11 '05 #5
Microsoft wrote:
ok, I found my problem,
if i use <!-- words work fine --> , it's ok,
if i use <!----------- words work fine ------------->, it cause error,
the "--" can use only two chars, no more no less.


In XML comments cannot contain "--".
--
Oleg Tkachenko
http://www.tkachenko.com/blog
Multiconn Technologies, Israel

Nov 11 '05 #6

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

Similar topics

0
by: Ryan Mitchley | last post by:
Hi all The Intel compiler generates a #383 remark: "value copied to temporary, reference to temporay used", for both of the following lines: const complex<FTYPE> CBase::m_cfZero =...
5
by: NickBlooruk | last post by:
Hello, I have successfully linked a Lotus Notes server to our SQL Server database using an ODBC connection. This works fine when wanting to select records eg openquery(LOTUSNOTES2, 'select *...
1
by: Nicole | last post by:
Hello! I hope there is someone out there who can shed some light on this for me. I have a module that is supposed to look at an access table, pull out each bid record, link to another table to...
9
by: bojan.pikl | last post by:
Hi, I am making a simple calendar. I would like to have the ability of notes. I was thinking of using this kind of notes.xml file. I am not sure how to operate with nodes. I just need to access...
2
by: charliej2001 | last post by:
Hi all I'm trying to set up an Access database that will be able to import contact information from the lotus notes 6.5 Address book. The idea is that the code runs from access to import all of...
5
by: alf8kitty | last post by:
Hello, I have a form that allows a user to submit notes in a textarea. <td><textarea name="Notes" value="" ROWS=3 COLS=35></textarea></td> The notes get sent to the MySQL database correctly...
1
by: engteng | last post by:
How do I remark/comment a paragraph of source code without of remark line by line (') ? Regards, Tee ET
4
by: Bob Alston | last post by:
I am trying to access data in a Lotus Notes database, from Access. The Notes database is release R5. I installed NotesSQL 8.x and have it working. However it chokes on one of the tables and...
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:
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...
0
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,...
0
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
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...

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.