all groups > dotnet xml > october 2005 > threads for october 22 - 28, 2005
Filter by week: 1 2 3 4 5
XSLT Extension Objects and Node Sets
Posted by Matt at 10/28/2005 7:32:17 PM
I need help with passing a generated node set from a style sheet into my =
customer msxsl extension. I have the following node set that I am =
creating:
<xsl:variable name=3D"sql">
<SQL>
<StoredProc>spGetReconID</StoredProc>
<Parms>
<parm>
... more >>
Need help with xml schema to add documentation with elements
Posted by comic_rage NO[at]SPAM yahoo.com at 10/28/2005 4:08:57 PM
Hi,
I am trying to add an annotation with a documentation, which contains
several nodes. So far, I having a problem on how to code this with C#.
Any help is appreciated.
<xsd:annotation>
<xsd:documentation>
<Description>my description</Description>
<Year>2004</Year>
<Level>... more >>
xsd, how to...
Posted by Sergey Poberezovskiy at 10/27/2005 7:07:01 PM
Hi,
I need to implement the following rule:
Element el_1 is defined as follows:
<xs:element name="el_1">
<xs:restriction base="xs:string">
<xs:enumeration value="value1"/>
<xs:enumeration value="value2"/>
<xs:enumeration value="value3"/>
</xs:restriction>
</xs:element>
... more >>
simpleType Question
Posted by Mike Logan at 10/27/2005 4:04:03 AM
Is this correct?
I am representing my database in an XML schema, but I am not just naming an
element=database field. But some of my IDs (i.e. USER_ID, and PROFILE_ID)
are not the same length in numbers. They are defined in the database as
NUMBERPS(2,0), NUMBERPS(3,0),...,NUMBERPS(8,0). T... more >>
deserialize IEnumerable with anyType tags
Posted by Achim Domma (SyynX Solutions GmbH) at 10/26/2005 9:34:25 PM
Hi,
I have a data structure which is serialzied into an xml like this:
<?xml version="1.0" encoding="utf-8"?>
<Storage xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Frames>
<Frame Index="0">
<Tags>
<anyType x... more >>
XML over HTTP
Posted by Jeroen De Brabander at 10/26/2005 8:29:53 PM
Hi,
I have to write an interface that accepts "XML over HTTP"-messages. How is
this done in .NET?
The goal is to have an application (webservice, webapplication, ...) that
accepts XML over HTTP and that sends reponses the same way.
I'm used to webservices, but this seems to be different... more >>
need help to declard type=IntType instead type="xsd:int" with xml schema
Posted by comic_rage NO[at]SPAM yahoo.com at 10/26/2005 7:07:19 PM
Hi,
I am writing C# code to produce xml schema.
//Create attribute
XmlSchemaAttribute att2 = new XmlSchemaAttribute();
att2.Name = "CustomerID";
att2.SchemaTypeName = new XmlQualifiedName("int",schemaNS);
att2.Use = XmlSchemaUse.Required;
ct.Attributes.Add(att2);
I ... more >>
Sorting an XML document.
Posted by Kevin Burton at 10/26/2005 5:51:02 PM
I have a slightly different sorting question than has been proposed before.
My docuement looks like:
<Records>
<Record>
<Sequence>5</Sequence>
<Name>E</Name>
</Record>
<Record>
<Sequence>1</Sequence>
<Name>A</Name>
</Record>
<Record>
<Sequence>4</Sequence... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Using XSLT to generate emails
Posted by tconti NO[at]SPAM hotmail.com at 10/26/2005 11:34:02 AM
Howdy:
I have 2 general questions regarding the use of XSLT to generate
emails. We have several procecesses that use XSLT to generate emails.
We frequently run into issues where a client complains that they cannot
traverse hrefs in the emails. When er acquire the culprit email it
appears th... more >>
Add XmlNode
Posted by Paul at 10/26/2005 11:29:29 AM
Here I have the definition of an XmlNode which is a property (PayPreference)
on my Customer class containing an enum describing how the customer will
pay.
<PayPerference xsi:type="a4:Customer+CustomerPayOptions"
xmlns:a4="http://schemas.microsoft.com/clr/nsassem/OsfDomain.Resources.Stage/Os... more >>
Can I have the same element declared within itself ?
Posted by sbeerav NO[at]SPAM gmail.com at 10/26/2005 11:09:15 AM
Hi,
I wanted to know if it is legal in XML to declare an element within
itself. For example...
<A>
This is an element of type A.
<A>
This is another element of type A
</A>
</A>
Thanks,
Sri
... more >>
XML Schema Quesions
Posted by Mike Logan at 10/26/2005 9:19:12 AM
I am defining an XSD file that will be used for a WSDL import. In my XSD I
am defining the objects and WS Operation messages. I have a few questions:
- For interoperability sake, how should objects be named, not including
messages? Should they be like this "appUser" or "appuser". Is there... more >>
how do i create subset and union in XPath Query
Posted by IMS.Rushikesh NO[at]SPAM gmail.com at 10/26/2005 5:36:54 AM
Hi Friends,
I need a XPath query, whcih ll return me subset of data....
check below xml stream
<label id="MyExpenseDetails_lbl" xlink:role="terseLabel">Short Expense
Details</label>
<label id="MyExpenseDetails_lbl" xlink:role="displayLabel">Expense
Details</label>
<label id="InternalExpen... more >>
XML Schema question from a newbie
Posted by Luigi at 10/26/2005 5:31:55 AM
Hi all!
I received an XML Schema in order to create some documents, but inside
it there is a definition that looks mistaken:
<!-- INFO is a name-value pair -->
<xs:element name="INFO">
<xs:complexType mixed="true">
<xs:complexContent>
<xs:extension base="xs:string">
... more >>
how to generate xml schema with UTF-8 instead of UTF-16
Posted by comic_rage NO[at]SPAM yahoo.com at 10/25/2005 7:12:28 PM
Hi,
I am writing code with C# to generate xml schema, however, the
following code generate a UTF-16 in the first line. This will create
some problems. How can get the code/missing what part of the code in C#
to generate a first line with UTF-8 instead of UTF-16? Thanks,
public XmlSchema... more >>
Xml Versioning Tool
Posted by Paul at 10/25/2005 1:12:07 PM
I've been tasked by my boss to write a tool that will update an xml (soap)
file such that when the structure of the object which we're persisting to
the soap file changes, my tool will apply the appropriate updates to bring
the soap file up to the version of the code before the soap file is
... more >>
Deserializing xs:choice with xs:sequence problem
Posted by Sergey Poberezovskiy at 10/25/2005 12:52:01 AM
Hi,
If I define my schema as
<xs:choice>
<xs:sequence>
<xs:element ref="el_1" />
<xs:element ref="el_2" />
</xs:sequence>
<xs:sequence>
<xs:element ref="el_3" />
<xs:element ref="el_4" />
<xs:element ref="el_5" />
</xs:sequence>
<xs:choice>
and compile it with .Net 2... more >>
How to insert a node at a specific location in XML Doc
Posted by mike at 10/24/2005 2:01:08 PM
Hello.
Let's say I have the following XML document:
<ROOT><Element1>Some Text</Element1></ROOT>
I want to add a new element after Element1. I tried the following but,
naturally, it doesn't work:
Dim oElem as XmlElement
Dim oNode as XmlNode
Dim oRoot as XmlNode
Dim oDoc as New XmlDoc... more >>
xsd schemas - how to...
Posted by Sergey Poberezovskiy at 10/23/2005 7:15:02 PM
Hi,
I have to specify that a person needs to have at least one out of three
phone elements:
<Phone type="home"/>,
<Phone type="work"/>,
<Phone type="mobile"/>,
Can anyone please suggest how to define xsd schema to enforce such a rule
(note that one type cannot be specified more than o... more >>
problem compiling xsd with xs:choice node
Posted by Sergey Poberezovskiy at 10/23/2005 6:21:01 PM
Hi,
As part of my schema I need to ensure that at least one of two fields have
values. I defined my schema as follows:
....
<xs:choice>
<xs:element ref="el1"/>
<xs:element ref="el2"/>
<xs:sequence>
<xs:element ref="el1"/>
<xs:element ref="el2"/>
</xs:sequence>
</xs:choi... more >>
XMLDocument.WriteXML question
Posted by Jacky at 10/22/2005 3:22:03 PM
hello i have to know if the writeXML process is a blocking process.
Other mean if i write
doc.WriteXML();
int i = 0;
Is i = 0 can be executed before doc.WriteXML() method ended????
All this when the data we have to save can need up to 2 3 seconds.
I think it's not blocking according to w... more >>
Return DISTINCT ProcessID nodes
Posted by Curious at 10/22/2005 3:06:17 AM
Hi,
I have the following XML file.
Now I am using the code below to return the number of disticnt
ProcessID's in the XML file. The result being returned is the
'System.Xml.XPath.XPathSelectionIterator', while the result should be
2.
Can someone help me out solve this problem.
Thanks in... more >>
Navigating through XML Documents
Posted by jenyb via DotNetMonster.com at 10/22/2005 12:00:00 AM
Hi ,
I use VB.net to work with XML database,I need to use a DocumentNavigator
class to navigate in XML document, I need to use MoveToChild/MoveToParent
there the problem is that i don't know how to load this DocumentNavigator.
(when I write the Imports ... it doesn't recognize it )
tnx for adv... more >>
|