Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / September 2003

Tip: Looking for answers? Try searching our database.

XSL Load issue

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Daniel - 11 Sep 2003 19:43 GMT
hey, i'm having an issue loading an xsl file.  

<xsl:attribute name="href">           
webpage.aspx?BUID=<xsl:value-of select = "@ID" />&amp;
RPID=<xsl:value-of select = "$RPIDNow" />
</xsl:attribute>

the code above gives me a "This is an unexpected token.
Expected 'SEMICOLON'. Line 25, position 15. "

it works when the "&amp;" is not there but i need that
character there or the link does not work.

any suggestions

dan
andrew lowe - 11 Sep 2003 22:22 GMT
> hey, i'm having an issue loading an xsl file.
>
[quoted text clipped - 5 lines]
> the code above gives me a "This is an unexpected token.
> Expected 'SEMICOLON'. Line 25, position 15. "

Daniel have you tried using the <xsl:text> element:

<xsl:text disable-output-escaping="true">&amp;</xsl:text>

hth
andrew
Daniel - 11 Sep 2003 22:38 GMT
i tried your suggestion but the error still happens.  

"An error occured while parsing EntityName. Line 25,
position 102."

I think their might be a bug with the XslTransform loading
these types of attributes because it works fine if i were
to process it using a DLL.  

dan

>-----Original Message-----
>> hey, i'm having an issue loading an xsl file.
[quoted text clipped - 15 lines]
>
>.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.