all groups > dotnet xml > august 2006 > threads for august 1 - 7, 2006
Filter by week: 1 2 3 4 5
Future XSLT/XPath features in .NET Framework
Posted by Sergey Dubinets at 8/7/2006 5:19:51 PM
In effort to prioritize our goals we composed the list of random features
each of them may add value to set of XSLT tools offered from Microsoft.
1. XSLTc (Compiler for XSLT stylesheets, that generates .NET
assemblies)
2. Performance improvements in the XslCompiledTransform... more >>
how do i change a value of a node?
Posted by dotnetnoob at 8/7/2006 8:50:02 AM
i keep getting Object references not set to an instance of an object from
this code:
Private Sub EqBinding()
Dim x As Integer
x = 0
Do
If CStr(arlsType.Item(x)) = "Bacnet Point" Then
Dim str1, str2 As String
str1 = CStr(... more >>
EASY, RIGHT? : Retrieving SQL Data as an XML Document
Posted by samadams_2006 NO[at]SPAM yahoo.ca at 8/7/2006 8:23:13 AM
Hello,
How do I retrieve SQL Data into an XML Document? I have the following
code, which will retrieve SQL data and write it to the screen via the
Response Object, but I'd like to be able to read it as XML Data, and
use XSL and XSLT to display the data.
Any suggestions? Code Snippets MORE... more >>
XML & Relational Database
Posted by ano at 8/7/2006 8:09:03 AM
Hi all,
I'm a newbie. I want to parsing XML data into a single relational database.
I found that this can be done by reading XML file into a dataset and uses
a DataAdapter to load them into a database.
Is this a good way to parsing XML data? Are there any easier way?
I'm not using a SQL Se... more >>
Serializing multiple objects in one XML document
Posted by Thyme at 8/7/2006 6:03:02 AM
Each time I serialize an object using XmlSerializer I get a structure like
this:
<?xml version="1.0"?>
<MyType>
..
..
</MyType>
<?xml version="1.0"?>
<MyType>
..
..
</MyType>
Instead I would like
<?xml version="1.0"?>
<MyRootThatIWillWriteToTheStream>
<MyType>
..
..
</MyType>
... more >>
XPathNavigator.SelectChildren(XPathNodeType.Attribute) doesn't work?
Posted by Keith Patrick at 8/5/2006 12:13:57 AM
I'm converting over from using XmlNodes (specifically ConfigXmlNode, but the
API uses XmlNode) to IXPathNavigable in some methods I have, but I'm finding
in the process, that I can't seem to get the attributes. If I have some
XML:
<ApplicationConfiguration Test="Blahblah"
... more >>
Flat searching in XML document
Posted by Kürþat at 8/4/2006 4:23:33 PM
Hi all,
I want to write a class which define some frequent XML operations. For
example a method named "getElementByAttribute (string attrName, string
attrVal)" should return an XmlElement object which includes first element in
the document which has same attribute name and value as method ... more >>
encoding type for existing .xml doc
Posted by John A Grandy at 8/4/2006 3:38:01 PM
How to determine the encoding type for an existing .xml doc ? UTF8 , 1252 ,
etc.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Sort XML Into Hierarchy
Posted by csharp at 8/4/2006 6:42:55 AM
I am generating an xml file off an employees table from a database to
use to databind a treeview to on a master page rather than call the db
every time the page loads.
I need to take this XML and sort it hierarchially so when the treeview
gets it, it shows all employees sorted with child nodes... more >>
System.Xml.Xsl.XslLoadException: XSLT compile error.
Posted by polly.woodhouse NO[at]SPAM cefas.co.uk at 8/4/2006 5:32:02 AM
Hi,
I have created an xsl document containing html client side controls and
when I used my XSLCompileTransform class it successfully created an
xhtml page.
I then changed the client side controls to asp.net2 server side
controls and changed the xsl document accordingly. However now my
XSLCom... more >>
XSLT and SAX.
Posted by sham at 8/3/2006 3:35:22 PM
Hi to all,
We have a large XML file (1.5 mb) from which we need to extract on a small
xml fragment.
Is it possible to this with XSLT?
I am using C# and .Net (1.1)
Sham.
... more >>
Need help for msdata expression = "IIF
Posted by Vishnu Kumar Tiwari at 8/3/2006 3:29:02 PM
I am using below expression in xsd...
I am getting devide by zero error.
For ur information I am filling the dataset with the results obtained from
Stored procedure.
Now again I need to calculate one field which is the divison of two fields
returned from SP.
Please notice that the third fi... more >>
What's the difference?
Posted by cashdeskmac at 8/3/2006 12:56:02 AM
Can anyone tell me the difference between these two xml files:
<?xml version="1.0" ?>
<Bookshop>
<book title="my first book" author="someone"/>
<book title="another book" author="someone else"/>
<DVD title="how to cook" director="TV Chef"/>
<DVD title="Gardening" director="TV g... more >>
ISNULL property
Posted by Vishnu Kumar Tiwari at 8/2/2006 6:38:02 PM
HI
I need to do one devision in xsd.
let suppose the propert names are a and b.
How should I write the expression.
--
Vishnu... more >>
Geeting devide by zero error
Posted by Vishnu Kumar Tiwari at 8/2/2006 6:36:01 PM
Hi
After getting the data from the database to the dataset I am calculating one
more field which involves devision.
Do I need to check ISNULL for TOTFLRAREASQFTNBR when putting this in the
denominator.
Since I already have put a check condition so do I need put one more while
putting t... more >>
how to print selected nodes path
Posted by Zhiv Kurilka at 8/2/2006 5:52:06 PM
Dear all,
supposed I have xml file
root>
<a>
<name>ddd</name>
<b>
<name>ggg</name>
<c>10</c>
</b>
</a>
<a>
<name>yyyy</name>
<b>
<name>zzz</name>
<c>10</c>
</b>
</a>
<a>
<name>zzz</name>
<b>
<c>12</c>
<name>xxxxx</name>
</b>
</a>
</root>
Lets say I need to select a... more >>
How to clean 0x0E value from file when using XSL?
Posted by JR at 8/2/2006 10:17:35 AM
I have some code that cleans up an xml file before running xsl
transformation on it due to what I call bad characters in the data. I
have as an example:
str = Replace(str, "", ".")
str = Replace(str, "", ".")
In there as filters to strip out characters XSL doesn't like and
rep... more >>
Retrieving default values specified from XML Schema file
Posted by Randy Williams at 8/1/2006 8:51:02 PM
Hi All,
I have an VS.NET 2003 app which will be processing XML files, some of which
will have empty elements (for example, <Item />). I have an XSD file which
should supply default values, but I am not able to read these plugged in
value using an XMLDocument object. The validation is work... more >>
order-by is an invalid attribute for the "xsl:for-each" element
Posted by Wang Xiaoning at 8/1/2006 9:03:48 AM
i put order-by here, but i got the invalid attribut error, what's
missing? thanks
-----------------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3... more >>
Setting default namespace/validating schema w/uncooperative xml?
Posted by Mark at 8/1/2006 6:25:01 AM
Hi...
I've been trying the .Validate() method on the XmlDocument to validate some
xml against a schema, but one thing I noted was that unless the document
explicitly declares the schema as a default namespace, Validate() just lets
it slide through as a success.
Is there a way to Validate... more >>
|