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

siteMapNode Question

Leo
I am trying to create a siteMapNode:
<siteMapNode title="Finance & Admin"

However, it doesn't like the "&" in the string. Do I have to use some
escape sequence to make it work?
May 12 '06 #1
1 1235
Replace "&" with the "&amp;" escape sequence.

"&" is one of 5 illegal characters in XML.

The other 4 illegal characters are : < , > , ' , and " .

( Less than, greater than, apostrophe and quotation mark. )

They must all be escaped if included in XML files.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Leo" <ne**********@cox.net> wrote in message news:%2****************@TK2MSFTNGP05.phx.gbl...
I am trying to create a siteMapNode:
<siteMapNode title="Finance & Admin"

However, it doesn't like the "&" in the string. Do I have to use some
escape sequence to make it work?

May 12 '06 #2

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

Similar topics

1
by: Nate Hekman | last post by:
The documentation for the SiteMapNode class refers to a public property named Item, which is supposed to get a custom attribute from the Attributes collection. But when I include this line in my...
0
by: Danny Tuppeny | last post by:
Hi all, I'm using a web.sitemap file and the site navigation controls. I've got a page (ListRecords.aspx) that contains a grid, from where you can click through to another page...
0
by: Big Chodder | last post by:
Hi I have created a custom SQL SiteMapProvider. I need to localize this and was hoping to do so in the same way I have localized the content for the rest of the site. When I dynamically add...
0
by: David | last post by:
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode url="" title="Menu" description="" roles="*"> <siteMapNode url="~/" title="Home" description="Home">...
4
by: nesr235 | last post by:
I can't beleive that Microsoft would create the whole Sitemap XML datasource process but not have a TARGET tag. What am I missing? The only place I saw the target tag was at the treeview level. ...
2
by: Stephen | last post by:
Hi Using: Visual Web Developer Express 2005 Could someone explain to me what the "node" does in a path - such as; <siteMapNode title="Hardware" url="Default.aspx?node=hardware"> Has it...
6
by: Max2006 | last post by:
Hi, I need to hide a series of siteMapNodes to certain roles. That means roles have access to the siteMapNode, but the node doesn't appear on the navigation menu. I'll use Response.Redirect to...
0
by: ryanmhuc | last post by:
I would like to create a tab menu navigation where all pages under a directory are considered under a specific tab. So when under any page in a directory its tab is considered selected. I have...
0
by: AAaron123 | last post by:
Is there a method of making a sitemapnode not visible and still have it's title appear in the bread crumbs? The reason for the invisible sitemapnode is so the page appears in the breadcrumbs (even...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.