Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Programming / XML / June 2008

Tip: Looking for answers? Try searching our database.

ThreadLast Post  Replies
bypass CDATA transformation30 Jun 2008 13:52 GMT3
You know that when you INSERT or UPDATE in a XML type field of table, SQL
Server deletes the CDATA et encode the section with HTML characters.
exemple :
CREATE TABLE #test ( xmldata xml )
Compare 2 XML Columns29 Jun 2008 23:45 GMT6
I have a table with 2 XML type columns of the same structure. How do I
compare these 2 columns and return the difference? For example, here are some
sample data in the two xml columns:
xmlcol1                      xmlcol2
Change XML Attribute value with SQL XML DML/XQuery?28 Jun 2008 04:36 GMT1
Is it possible to change an attribute value using XQuery?  I
understand how to use "modify" to change an Element value, but can you
change an Attribute value?
For example, let's say I have the following:
Create XML, first line27 Jun 2008 10:56 GMT7
How do I add <?xml version="1.0" encoding="UTF-8"?> to the first line of the
output from this query?
select 1 as TAG, NULL as Parent, xx as [variable!1!name], yy as
[variable!1!!element] FROM zz for XML EXPLICIT, ROOT('test')
FOR XML PATH node element containing "<" character17 Jun 2008 02:44 GMT2
I want my result set to include the "<" character within the node
element name however the sql compiler is returning an invalid
character err. msg. ("..contains an invalid XML identifier as required
by FOR XML; '''(0x0027) is the first character at fault.").  I've
SQLXML Import with nested elements04 Jun 2008 18:19 GMT1
I am new to SQLXML and have found the tutorial for importing using an
XDR schema.  The problem I am having is that my xml file has nested
elements, and I cannot figure out how to get the process to pull them
in.  I have found examples using attributes, but none using
Saving Mal-formed XML04 Jun 2008 08:12 GMT1
I am converting thousands of XML files to a SQL Server 2005 Database.
Everything goes fine, until I run into a section of mal-formed XML. In
passing the XML section to the stored procedure for inserting it into the
Section table, I receive the following error: "XML parsing: line 1 ...
Implementing IODEF XML Schema in SQL 200504 Jun 2008 06:10 GMT4
I'm new to XML and need to implement the IODEF XML Schema (http://
staff.science.uva.nl/~demch/projects/iodef/index.html) in SQL 2005.
I downloaded the latest schema (http://staff.science.uva.nl/~demch/
projects/iodef/draft-ietf-inch-iodef-044.xsd) and attempted to load
Using WITH XMLNAMESPACES in a function02 Jun 2008 11:29 GMT3
Dear SQL Server XML experts,
I have a problem with using the WITH XMLNAMESPACES clause within a
function. This function shall return an XML fragment that will later
be used in a SELECT statement. I need to add a default namespace to
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New 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.