【发布时间】:2011-05-04 06:38:14
【问题描述】:
我想通过从XML_TAGS 表中获取标签和MAPPED_TAGS_ATTRIBUTES 表中的属性来显示 XML 文件 - 类似于 <element attributes></element>:
String sql = "SELECT Dtd_Tag,Dtd_Attribute_Name
FROM Xml_Tags,
Mapped_Tags_Attributes
WHERE Mapped_Tags_Attributes.Pdf_Tag = Xml_Tags.Pdf_Tag
ORDER BY Mapped_Tags_Attributes.Pdf_Tag
FOR XML AUTO";
【问题讨论】:
-
我想通过从 xml 标签表中获取标签和从 Mapped_tags 属性表中获取属性来显示 xml 文件...类似于
-
请添加您要使用的表的结构、一些示例数据和预期的输出。
标签: c# .net sql sql-server xml