Hi
I want to write an XML schema which has an element which may contain subelements and/or primitive types. So I have this fragment which does not validate correctly.
<xs:complexType name="parameterType" mixed="true">
<xs:complexContent>
<xs:restriction base="xsd:anyType">
<xs:any processContents="lax" minOccurs="0"...
Hi all,
Consider that you have an XML document with a schema. You want to add a new element to the xml document, and the schema knows where that element belongs. Are there any libraries out there so that I can say effectively "I want to add a new element 'X' into parent node 'A'" and have the library worry about exactly where it adds th...
I have Created a table like
CREATE TABLE [dbo].[tab1](
[Id] [int] NOT NULL,
[Name] [varchar](100) NOT NULL,
[Meta] [xml] NULL,
CONSTRAINT [PK_tab1] PRIMARY KEY CLUSTERED
(
[Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ...
I want to print my output xml in a single line[when viewed in notepad or other simple text-editor], so as to remove the redundant white-space in my xml file. So which is the better method to follow for that ??
I think there are two options,
1) To use
<xsl:output method="xml" indent="no"/>
2) or to use
<xsl:strip-space elements="...
Looks like XSD.exe is not delivered as a part of Visual Studio 2010.
what is the alternative being offered in VS2010?
...
I am facing a problem while reading the excel and writing them to XML using LINQ to XML.
I am having a column name as PinCode which has values like
9999
12
"123"
"20"
"999"
3
While converting the excel to dataset I have the values 9999,12,3. I am not able to retrieve the values in string format.
I dont want to change the formats in ex...
Just to confirm
When sending XML data with asp to https://www .site.com I am getting
msxml3.dll (0x80072F0C)
A certificate is required to complete client authentication
I Talk to https://www .site.com IT and they said that they don't have to provide any certificate to install.
IS it correct?
here is the function
Set xmlhttp = Server...
Could someone help me out, to why my listbox is empty?
The XmlDocument contains the following XML:
<Config>
<Tabs>
<Tab Name="Test1" />
<Tab Name="Test2" />
</Tabs>
</Config>
In my XAML file I have tried the following
<Window>
<Grid>
<ListBox DataContext="{Binding {StaticResource Data}, XPath=//Tabs}" ItemsSource=...
Hello!
I'm using Java 5 javax.xml.validation.Validator to validate XML file. I've done it for one schema that uses only imports and everything works fine. Now I'm trying to validate with another schema that uses import and one include. The problem I have is that element in the main schema are ignored, the validation says it cannot find ...
Hello,
Excuse me for my poor English, that is not my native language.
I'm a beginner (since 3 days) with WPF and LINQ, and a casual user of C#.
Yesterday, i've trying all the day to solve my probleme and read several documentation, but a bug in my code persist.
I pass a XElement to a control who bind its content, but i've a but in th...
I want to create a firefox search plugin with an autocomplete function. However I have a twist to the standard, "return a result and append to the URL" method. Depending on the result returned in the autocomplete how do I use a different "template URL" (or destination URL) when the user submits the search? Can you return a result and ...
Given a PDF document, is it possible to generate a XSL-FO (FOP) template?
Obviously, this would be a one-time thing - the generated template would just be a starting point for creating a proper template that pulls in the appropriate data.
For me, the ideal tool for doing so would be a Java-based one and should be executable from the co...
We are encountering a strange problem with SQL Server 2005/2008 using the FOR XML with fragments of xml and namespaces. Here is the query in question.
WITH XMLNAMESPACES (
DEFAULT 'http://tempuri.org/newincomingxml.xsd',
'http://tempuri.org/newincomingxml.xsd' as [xsi],
'http://tempuri.org/newincomingxml.xsd' as [a]
)
SELECT
[@a:Sou...
I'm developing an application using MS Visual C# 2008 Express that uses the ClickOnce deployment functionality. I publish the application to a a server where users can download it.
Upon running the application, it throws a file not found exception - it cannot find the XML file that the application pulls data from (Instructions.xml).
W...
Hey All,
I'm not quite sure how to describe the problem I'm having but I'll do my best.
I have an image gallery built in AS3 that loads content via an XML file. Nothing mind blowing here...
When testing locally on a static XML file, the gallery works as intended.
The purpose of this gallery is to function within a CMS and load dynamica...
trying to build a project set file and checkout these projects:
<psf>
<project ref="version,url,name"/>
<project ref="version,url,name"/>
<project ref="version,url,name"/>
</psf>
now I need extract url and name from each project tag. I used
<xmlproperty file="example.psf" collapseAttributes="true" />
but when I
<echo>$psf.p...
Processing time doubles as "Y" goes to the right.
Can anybody tell me why? How to solve this problem?
I have many big ID's stored in a database those can't be changed so I can't limit the size too much.
using System;
using System.IO;
using System.Text;
using System.Xml;
using System.Xml.Schema;
namespace TestRegex
{
class Program
{
...
I am trying to identify all the nodes in a tree that lead to a specific node.
I am trying to accomplish this through either MSSQL XML (2005) or by the Microsoft.XMLDOM in ASP classic.
I know the logic with XPATH but SQL Server does not support the ancestor-or-self axis and XMLDOM seems to choke on the :: notation..
The xpath that work...
Hey all,
When I run the flex application, I'm expecting to see 25 records from users table of my database in a list component, and all I see is 25 of this: [object User]
I tried to follow this tutorial: http://www.adobe.com/devnet/flashcatalyst/articles/building_datacentric_app_flashcast_flashbuilder_03.html but as he is using ColdFu...
I want to convert the RDF/XML file into a table of 3 columns, namely "Subject" "Predicate" and "Object", these are known as RDF triples.
the RDF/XML file is as shown below:
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:h="http://www.w3.org/1999/xhtml">
<rdf:Description rdf:about="http://www.w3.org/TR/2004...