Subject: RE: [xsl] Escaped Chars from DB display incorrectly... From: "King Wilder" <king@xxxxxxxxxxxxxx> Date: Tue, 2 Apr 2002 16:16:00 -0800 |
I guess my question should actually be, "How do you insert the string values, i.e.; escaped values (&, <, >, ', ") into SQL Server in order to retrieve them later and display correctly in XSL?" King Wilder -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Michael Kay Sent: Tuesday, April 02, 2002 1:42 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: [xsl] Escaped Chars from DB display incorrectly... Somewhere while being turned into XML, the string from the database is being escaped, which isn't necessary as it's already escaped in the database. I bet the XML built from the DB is actually Smith &amp; Company Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of King Wilder > Sent: 02 April 2002 22:11 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] Escaped Chars from DB display incorrectly... > > > I'm using MSXML 4.0 on Windows 2000 Server. Escaped characters don't > display correctly from the database. > > > My SQL Server 7.0 table field: > > Company > ------------ > Smith & Company > > > I dynamically build an XML string... > > <account> > <customer company="Smith & Company" /> > </account> > > > My XSL displays this in a browser... > > Smith & Company > > > View Source shows this... > > Smith &amp; Company > > Any ideas how I can just display: Smith & Company ? > > Thanks, > > King Wilder > ------------- > Gizmo Beach > king@xxxxxxxxxxxxxx > www.gizmobeach.com > 626 351-4334 > ------------- > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Escaped Chars from DB dis, Michael Kay | Thread | [xsl] Manipulating file system path, Steve Rosenberry |
Re: [xsl] Accumulating Sum ( Sum Ac, KUMAR NINGASHETTY | Date | Re: [xsl] Re: Re: How to pass searc, David Carlisle |
Month |