all groups > dotnet xml > february 2006 > threads for february 15 - 21, 2006
Filter by week: 1 2 3 4
Returning only X number of items...
Posted by blackstaronline.net at 2/21/2006 4:24:06 PM
Here is my working code to pull Yahoo business news RSS feed. Can
anyone show me how to only return the top 3 or 4 news articles?
<%@ Import Namespace="System.Xml" %>
<script language="VB" runat="server">
Public Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs)
If... more >>
XML -> PDF
Posted by Zika Mustikla at 2/21/2006 2:16:07 PM
Which is the easiest way to transform XML into PDF? Which tool/.Net library
I should use?
... more >>
VB.Net: how to carry SessionID(its value ) from 1 function to othe
Posted by XML newbie: Urgent pls help! at 2/21/2006 7:19:27 AM
If I get SessionID in 1 function how do I carry that SessionID(value of this
SessionID) to another function or another form within the same project... more >>
Error:Value of type 'String' cant be converted to 1-dim array of L
Posted by XML newbie: Urgent pls help! at 2/21/2006 6:51:27 AM
Hi,
I am getting the error: Value of type 'String' cannot be converted to
'1-dimensional array of Long'.
in the following line for TextBox2.Text field :
doc.LoadXml(EDP.ExportPositions(TextBox1.Text,
cmbStartDateandTime.SelectedText,
cmbEndDateandTime.SelectedText, TextBox2.Text)))
... more >>
ignoring tags in xml, using just the text
Posted by MR at 2/20/2006 10:28:15 PM
I would like to create an htm file (using Word) that will have some free
form text. However, in the free form text I would like to be able to embed
some fields like Name, Address, etc. I have tried to embed the fields
surrounded by different characters such as __Name__, @@Name@@, $$Name$$. the... more >>
Xpath question
Posted by Aaron at 2/20/2006 10:04:09 PM
Hello,
I am using Xpath to group 20 <name> tags together, how would I do that?
Donors/Name???
<Donors>
<Name >
Abigail Sears
</Name>
<Name >
Alicia & Joe Swindel
</Name>
<Name >
Alissa & Neal Keny-Guyer
</Name>
<Name >
Ann Bremer & Earl Molander
... more >>
How can I parse this XML file,
Posted by Sam at 2/20/2006 7:34:27 PM
Hi Everybody,
I'm using C# and System.XML and can parse XML files like this:
<LogIn>Yes</LogIn>
<Name>DB_MAGUser</Name>
but I've been asked to parse and work with a XML file that looks like this:
<entry Active="NO"/>
<entry LogIn="Yes"/>
and I can not parse this one, First of ... more >>
"In Use" exception on XMLDocument.Save
Posted by Terry at 2/20/2006 1:24:27 PM
When using XMLDocument.Save(strFileName) in .NET 2005, is there a way to
check (or trap) and see if the file is in use by another. I am using VB.NET.
Currently it just bombs and says the filename is in use by another. I want
to check or trap for this rather than blow-up. I tried using a Tr... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Interview Questions Feb 20, 2006
Posted by Jobs at 2/20/2006 10:04:34 AM
How to prevent my .NET DLL to be decompiled?
By design .NET embeds rich Meta data inside the executable code using
MSIL.Any one can easily decompile your DLL back using tools like ILDASM
( owned by Microsoft) or Reflector for .NET which is a third party.
Secondly there are many third party... more >>
Datalist with an xml file
Posted by Aaron at 2/19/2006 9:55:13 PM
How do I get all the name(s) listed in the datalist?
<asp:DataList ID=3D"DataList1" runat=3D"server" =
DataSourceID=3D"XmlDataSource1">
<ItemTemplate>
<table>
<tr>
<td><%# XPath("Name")%></td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
<asp:XmlDataSource ID=3D"XmlD... more >>
How to select a boolean from a XpathNavigator
Posted by Steve at 2/18/2006 9:03:26 PM
Hi. I have ax xpath expression which returns a true or false. I don't know
which method to use from the XPathNavigator object to get the result.
There's not a ".SelectValue("xpath expression") method. Typically, I may use
..Select or .SelectSingleNode but I'm not returning a node or set of ... more >>
xpath expression to find which element
Posted by Steve at 2/18/2006 12:10:27 PM
Hello.. I have been trying to figure this out for the last hour, but I am
baffled... I'm hoping someone can help!
I'm trying to write an xpath expression to find the position of the node
with value "c" in the following xml. The result I'm looking for in this case
should be 3. Does anyone ha... more >>
How to connect to remote server and access the tables
Posted by XML newbie: Urgent pls help! at 2/17/2006 2:43:19 PM
I am working on Vb.Net application. I have to connect to remote server(it's
IP address)(this server is not on my network). This company has provide me
username, companyname and password. Once, I get connected, I get the
SessionID. Now, I need to download some of the tables from here. How do I ... more >>
Problems with XmlSerializer and namespaces
Posted by Keith Patrick at 2/17/2006 1:03:09 PM
I have an object, Teacher, that has a namespace. Let's call it http://foo.
Teacher has a child object called Name, composed of String first, middle,
last, etc. Problem I have is when I try to deserialize it. When I
deserialize a single Teacher, it works when I put the namespace on the
Tea... more >>
[Help] XPath Navigator And Select Method
Posted by Zip at 2/17/2006 3:30:09 AM
Hi,
if my XML document has a root node <envelope> when i rune the following
code
i always get Found
XPathNodeIterator it = nav.Select("envelope");
if(it.MoveNext()){
Console.WriteLine "Found";
}
else {
Console.WriteLine "Not Found";
}
If, however the root node is <envelope
x... more >>
How to populate a dataset from an XML formated String
Posted by paumierj NO[at]SPAM hotmail.com at 2/17/2006 1:56:56 AM
Hi there
Here's my question :
I'd like to populate a dataset from an XML string, ie:
Dim sXmlString As String
sXmlString = "<root type='E-Form'><question label='This is my first
question'></question><question label='This is my second
question'></question></root>
Any idea to achieve this... more >>
Off topic: VB6 question - adding nodes to msxml
Posted by bg at 2/17/2006 12:00:00 AM
sorry this is way off topic.
using _vb6_: i'm trying to add/replace nodes to an xml document via
CreateTextNode:
xml = "<item>floogle</item>"
set newNode = oDom.createTextNode(xml)
call dDom.replaceChild( newNode, bloogleNode)
It works ok. But I can no longer find the new node in the do... more >>
.Net statement efficiency
Posted by cd~ at 2/16/2006 1:51:20 PM
How is the efficiency of this statement compared to the efficiency of
writing this out in long form?
(xml = new XmlDocument()).LoadXml("<dom />")
Is there a perfomance gain to single line statements like this?
... more >>
Why does this xpath fail?
Posted by David Thielen at 2/16/2006 10:47:29 AM
XPathNavigator nav = MyCreateNav(); // InnerXml == "software"
nav.SelectSingleNode".[.='software']");
The select returns an exception:
+ $exception {"'.[.='software']' has an invalid token."} System.Exception
{System.Xml.XPath.XPathException}
Any idea why?
--
thanks - dave
david_at_... more >>
Newbie Question
Posted by Ben Kim at 2/16/2006 10:14:24 AM
Hello all,
I have used XML documents in the past without schemas or validation. Now I
am venturing into the realm of validating, transforming, etc. Can anyone
point me to a good book or informative website (not w3.com) that will help
me along?
For example some questions have come up wh... more >>
Xml error: Namespace Manager or Xslt context needed
Posted by XML newbie: Urgent pls help! at 2/16/2006 7:43:30 AM
I am using VB.Net. My program is to connect to a remote IPAddress. Once, it
verifies the login information it should display the SessionID and enable
some button . I appreciate your help and thanku in advance
When I run the pgm , I get the error:
Can't parse login information. Namespace Man... more >>
Embedded CSS in XML
Posted by Mario Vázquez at 2/16/2006 12:00:00 AM
Hi everybody,
I've just learned how to attach a CSS file to a simple XML document with:
<?xml-stylesheet href="css_file.css" type="text/css" ?>
It is possible to incrust the CSS definitions in the same XML?
Regards,
MVR
... more >>
ADO.NET Failed to load msxmlsql.dll
Posted by Daniel at 2/15/2006 6:02:53 PM
ADO.NET Failed to load msxmlsql.dll
How to fix this error?
System.Data.SqlClient.SqlException: Failed to load msxmlsql.dll.
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
at System.Data.SqlClient.SqlComm... more >>
User-defined attributes in XMLSchema
Posted by Geir Aamodt at 2/15/2006 12:59:58 AM
I have an xml schema and an xml file. When parsing the xml file I would like
to perform operations on elements marked in the schema with the "search:able"
attribute. See sample files below.
Any tips/tricks on how to achieve this?
----------------------XML Schema sample--------------------... more >>
|