all groups > dotnet xml > may 2005 > threads for may 8 - 14, 2005
Filter by week: 1 2 3 4 5
For-each or recursion in XSLT
Posted by Oleg Konovalov at 5/14/2005 12:00:00 AM
Hi,
I am new to XSLT, modifying somebody else's code:
I have the following data (leaves in parallel branches):
mystruct/myarray1[i]/myvar/var2 and
mystruct/myarray2[i]/myvar/var3
I need to implement the find the first occurence of :
<xsl:if test="position() != last() and
number(var2) ... more >>
XML and EOF
Posted by Elroyskimms at 5/13/2005 10:46:39 PM
I'm not sure if this issue is related to XML or it is strictly ASP.Net,
so I apologize if I have cross-posted incorrectly.
I have an ASP.Net page (written with VB.Net) that returns XML in
response to various parameters that are passed to it. Here is a
simplified version of the code where the p... more >>
xslt 2.0
Posted by Kris Desmadryl at 5/13/2005 12:00:00 AM
Hi,
I know xlst 2.0 isn't supported in .Net framework ?
But I really have to do such a transformation and in .net of course.
Is there any free third party tool ? Or is there another way ?
Kris.
... more >>
Deserialize - Casting error
Posted by pb at 5/12/2005 9:41:47 PM
Hi,
I'm having problems deploying a project to win2003.
It is currently on win2000 server and works fine - it also works fine
on my development machine - win2003.
Both my machine and the new machine are running .net 1.1 sp1.
I get an error when I try to descrialize a file (with code):
X... more >>
want to set properties in C#
Posted by Owen Corpening at 5/12/2005 5:24:31 PM
If I have an xml file and want to set some properties in it (read and write
it I guess), what is the best alternative?
I don't want to use xlst - this seems like I should be able to just specify
the node and replace the parameter similar to what I am doing now in
InstallScript:
oConfig = Cr... more >>
Which is better?
Posted by Roshawn Dawson at 5/12/2005 3:28:52 PM
Hi,
This might be a stupid question, but which offers better performance
when processing xml? Is it the XmlDocument, XPathDocument, or just
using an XSLT file?
Thanks,
Roshawn... more >>
Documents w/o namespaces
Posted by Brad Wood at 5/12/2005 11:03:00 AM
I've developed a web service whose output is an XML document that
conforms to a schema.
Is it bad practice / unacceptable not to have a namespace associated
with my document?
If so, is it OK to just supply a default namespace and thus negate the
need for namespace prefixes on all element... more >>
XmlDocument Trouble
Posted by Roshawn Dawson at 5/12/2005 5:45:03 AM
Hi,
I don't know why, but I can't seem to get this to work:
Public Sub DoSomething()
Dim sb as New StringBuilder()
sb.Append("http://webservices.amazon.com/onca/xml?")
sb.Append("Service=AWSECommerceService&SubscriptionId")
sb.Append("=0525E2PQ81DD7ZTWTK82&Operation=ItemSearch")
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
XmlSerializer and multi line strings
Posted by stax at 5/12/2005 12:00:00 AM
Hello,
can somebody tell me how to serialize/deserialize
a object containing a multi line string using the
XmlSerializer class. One of the both windows
linefeed chars get dumped somewhere down the road.
It would be awesome somebody could answer this,
sadly most of my questions don't get an... more >>
XMLHTTPRequest object Question
Posted by Elizabeth Harmon at 5/12/2005 12:00:00 AM
Good Evening,
I am new to the XMLHTTPRequest Object and it's use but i am doing pretty
good with it since it's realtively simple?
I am having one problem in using a Get method.
I am requesting an aspx file that contains some controls, intersoft Web
Combo to be exact. This control is a... more >>
Variables in XSLT
Posted by Oleg Konovalov at 5/12/2005 12:00:00 AM
Hi,
I am new to XSLT, trying to significantly modify somebody
else's XSL. That is not 2.0.
I need to create min & max variable(s)
to be used in many templates and sub-templates
based on certain conditions (not always).
It can't be calculated at the beginning of the file
(depends on ot... more >>
ms:number?
Posted by Mike King at 5/11/2005 12:01:20 PM
Is there an equivalent ms:number function in the .NET XslTransform class
like the one in MSXML? I need to take a number expressed in scientific
notation (e.g. 1e9) and divide it by another number expressed in scientific
notation.
... more >>
Generating XML files from a database
Posted by Dominic Feron at 5/11/2005 12:00:00 AM
Hello everyone,
Here is the situation. I've looked all day about this subject over the net
and I'm kinda confused...
I was ask to generate, on a daily basis, some XML files from a SQL Server
2000 database.
What is the best strategy to perform such a task?
I was looking foward using the... more >>
Web service - utf-8 to iso-8859-1 encoding change needed
Posted by Peter Hase at 5/11/2005 12:00:00 AM
Hello NG,
I use a .Net Web Service built in C#, the return is a XmlDocument.
My Problem: The encoding-attribute in the header-declaration is always
UTF-8, but I need it in ISO-8859-1.
I've updated my web.config & machine.config Globalization
requestEncoding and requestResponse settings b... more >>
Can't get a declaration
Posted by George1776 at 5/10/2005 2:07:13 PM
Background: I have taken an excel spreadsheet with the formatting I
want, saved it as XML, then converted it to an XSL document to use it
as a sort of template. Added some for-each select functionality and am
able to populate it with data from good old Northwind.
Everything is working great ... more >>
XmlDocument Question
Posted by Roshawn Dawson at 5/10/2005 10:13:17 AM
Hi,
Is there any way to disable the data validation the the XmlDocument
class performs?
Thanks,
Roshawn... more >>
Change NameSpace Value on Selected Node
Posted by Rick at 5/10/2005 9:10:24 AM
I have an XML document that is generated from Infopath, I need to change
the value of a namespace that is defined in a node in the form:
<xsf:xDocumentClass "xmlns:my=valuehere">.
when i navigate to the namespace value it is read only and cannot be
changed. Can anyone tell me how to change t... more >>
Difference in encoding? - Confused
Posted by Ian Harding at 5/10/2005 12:00:00 AM
I'm working on a .NET application that requests an XML document, in
string form, from a legacy COM component, then deserializes it. In
order to deserialize the document, the string needs to be placed into a
stream. AFAIK, .NET strings are UTF-16 encoded, but the COM component
returns a UTF... more >>
Setting a reference to a schema doesn't work?
Posted by at 5/10/2005 12:00:00 AM
Hello NG!
Using the System.Xml.XmlDocument I want to create such a xml-file:
<?xml version="1.0" encoding="utf-8"?>
<RootElement xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="RootElement.xsd ">
....
</RootElement>
(That's what XMLSpy generates whe... more >>
Ignoring Elements in XSD
Posted by Jody Greening at 5/9/2005 7:15:12 PM
How do I write a schema that is only validating elements: 1,4,7,8,9 and
ignores every other element? I also need to not to care about the order
of the elements or how many are in between elements that I am trying to
validate.
XML:
<root>
<element1 />
<element2 />
... more >>
Restructure XML
Posted by Matt at 5/9/2005 2:51:00 PM
I would like to restructure my xml with a generic style sheet to perform =
the following. I want to be able to inspect a group of nodes then place =
them into a collection node if there are more than one at the same level =
with the same name. This should occur as well if sub-levels have =
con... more >>
Question about web service
Posted by Alan Ho at 5/9/2005 1:38:19 AM
I have to decide on the appropriate wire protocoal to use when designing an
XML web service. the web service i have developed will be deployed inside
the corporate firewall, while the clients will be located on both sides of
the perimeter. But no additional ports can be opened in the firewall
co... more >>
xPath/XML from streamed data
Posted by Chris Hoare at 5/8/2005 11:36:02 PM
I am writing a prototype data collection application; teh data for this
project is being streamed in from a TCP port.
Example of the XM
<interface><mac>0001CE003642</mac><id>Test</id><terminal><unit>1</unit><trans><event>AK</event><data>1905</data><time>2005-04-26T07:51:00</time></trans></ter... more >>
Paragraph breaks???
Posted by me at 5/8/2005 9:22:00 PM
Hello,
I have a node in my xml that is a block of information. This block has
several paragraphs--how can I maintain the paragraph breaks by using <br/>
from the source thru a xsl tranformation process?
i.e:
<information>
GM has been losing sales in the U.S. to Toyota and other Asian rivals ... more >>
|