all groups > dotnet xml > march 2004 > threads for march 15 - 21, 2004
Filter by week: 1 2 3 4 5
Need help transforming parent-child xml
Posted by Drew Mace at 3/21/2004 3:54:53 PM
Here is the scenario:
There is an index.xml file that specifies sections of content in the example
below. Each attribute "chunkiid" is another xml document...for example
there is a 35427.xml. I would like to have 1 xsl file that takes random
chunkiid's and loads that xml then transforms that x... more >>
retrieve previous or next sibling?
Posted by Michael Appelmans at 3/21/2004 1:45:11 PM
Being a relative newbie at .NET xml I have a photo album as an xml doc
and would like to be able to retrieve the previous or next photo name
bsed on the current photo node. I haven't used XPath classes and wonder
if someone could steer me to a relatively simple example.
Here is my xml:
... more >>
Editing XML schema via XmlSchema class?
Posted by BikerJR at 3/21/2004 4:39:49 AM
Does XmlSchema class provide a possibility to edit already created XM
schema? Should I use XmlDocument, XmlNode etc. instead?
Thanks,
Alex Masyche
-
BikerJ
-----------------------------------------------------------------------
Posted via http://www.mcse.m
----------------------------... more >>
Few questions about efficency
Posted by Ayende Rahien at 3/20/2004 6:15:06 AM
I'm trying to use xml files as my data store (after trying a DB ended
up in multiply injuries to all participants :-+AH0- ) in an Asp.Net
application.
My problem goes like this:
I'm loading the files to XmlDocument, and then grab the info I want
from them using XPath. Most of the work is readin... more >>
XML validation with the XmlValidatingReader
Posted by crausch at 3/19/2004 6:41:08 AM
Hello,
I am using the XMLValidationReader to validate documents against a DTD. The DTD is the "JournalPublishing.dtd" from PubMed.
Because of the the way several parameter entities are declared within the DTD, the MS Parser in DotNet is generating errors: "The parameter entity replacement text m... more >>
How to view raw XML of web request
Posted by Jurgen at 3/19/2004 12:36:05 AM
I would like to see the raw contents of the XML request messages I'm getting. How should I do that since .NET hides everything for me? I've tried Google, MSDN etc. but I cannot find the answer.
(It's probably easy and I'm probably looking in all the wrong places... Still, a more helpful pointer is... more >>
Help with XMLDocument + XSL = string
Posted by jkanel_ng NO[at]SPAM yahoo.com at 3/18/2004 2:29:50 PM
I have an XMLDocument object and an XSL string. I need to transform
the XML, but I cannot get any code examples to work properly.
I'm using .Net Framework 1.1, which obsoletes many of the code exmples
I've found in this newsgroup.
Here's the function I need to fill...
Public Function Get... more >>
XPathNavigator and SelectSingleNode
Posted by Jiho Han at 3/18/2004 2:24:01 PM
I like XPathNavigator because it's fast but one thing I miss from
XmlDocument is the ability to retrieve a single matching node.
It's very useful when I know there is only one such node under the parent.
I am trying to find the easiest way to implement such functionality that
doesn't detract f... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Get node value and data type (Using C++ and Smart Pointers)?
Posted by Teis Draiby at 3/18/2004 1:38:21 PM
Being new to XML and DOM my questions is probably very basic.
I am using VC++ and 'Smart Pointers' with MSXML 4.0
See code below...
1) How do I get the value of a node and output it by 'printf'? Preferably I
want the value to be obtained in its native data type. I have experimented
with 'node... more >>
multiple xml docs in xsl using .net transform
Posted by Chad at 3/18/2004 1:16:11 PM
I have a question about using xslt to access multiple documents that will be transformed to html via the xsl Transform call. I hope this is not too lengthy,but I wanted to get the message across
I am transforming an xml file that has one of the element attributes that has the path to another file
... more >>
Transform XML using XSLT
Posted by Nathan at 3/18/2004 11:48:52 AM
I'm a complete XML newbie and I'm attempting to use an XSLT to transform an
string containing XML so that the nodes are named as per my requirements and
nodes that I don't need arem't written.
Now the renaming of the nodes works but I'm not sure how to not copy the
nodes that I don't want.
... more >>
report writing with XML/XSLT
Posted by Erik Frey at 3/18/2004 10:16:34 AM
Hi,
In previous software projects, I've used Crystal Reports to allow the
user to print views of data in the app. The problem with this is the
tedious process of creating one report after another in the visual designer,
for each and every business object I want to create a report for.... more >>
error loading XSLT with msxsl:script vb embedded
Posted by Russ Holmes at 3/18/2004 9:48:43 AM
My vb.net code attempts top load an XSL file into an XSLTransform instance;
'----------------------------------------------
Dim oXMLDoc As New Xml.XmlDocument
Dim oXslTransform As New Xml.Xsl.XslTransform
Dim stWrite As New System.IO.StringWriter
'load xml string into XMLDocument
oXM... more >>
Xpathnavigator & newline
Posted by Baz at 3/17/2004 12:46:05 PM
I need to extract specific information from XML documents generated by a third-party program. The relevant information is <1% of the total XML. I have a couple of questions
1. I am currently using XPathNavigator & XPathDocument to select pertinent information & writing that to a flat file. I do not... more >>
Flattening and XML Tree to a CSV
Posted by solex at 3/17/2004 12:13:49 PM
Can anyone post or point me to a link that has a complete XSLT file that
will flatten an XML tree for conversion to a CSV file?
Thanks,
Dan
... more >>
XML Root
Posted by Matt Frame at 3/17/2004 9:33:10 AM
What is the best method to set the XML root using ExecuteXmlReader when I
use either a stored procedure that returns XML or command text using FOR
XML?
Thanks,
Matt
... more >>
Determine Location in XML text
Posted by Jeff at 3/16/2004 9:37:24 PM
I am hoping to determine the current node based on a character position.
Is this possible.
What I am trying to do is to show a text editor with my XML text. When the
user clicks anywhere in the text editor, I want to figure out what node they
are on.
Is this possible using the System.XML names... more >>
"Uses SOAP" COM+ Activation Setting Fails When Calling Method
Posted by Jonatan Kelu at 3/16/2004 7:46:06 PM
Hmmm... Since I haven't yet got a reply, I'm guessing I must've stuffed up my previous post since this interface has changed. Oh well, here goes again..
I am using COM+. I have a simple component I made using Visual Studio 2003 attributed ATL. The component has a single interface, which I desi... more >>
How to Write XML Node to a Specific Location
Posted by BikerJR at 3/16/2004 5:26:27 PM
I have one more question. How can I write an XML node into the specifi
(user-defined) location in the XML file? A new node always will be
child of one of the existing elements. Should I use XPathNavigato
class to define location of an existing node, which will be a parent
and send XPathNaviga... more >>
How to create XmlDocument from XmlNodeList
Posted by meghma NO[at]SPAM hotmail.com at 3/16/2004 3:10:56 PM
Hello,
I am trying to create a XmlDocument from the nodes within a
XmlNodeList like
XmlNodeList t_rowNodeList =
t_XmlDocument.SelectNodes("root:Record/root:Fields/IssueHolders:IssueHolders/IssueHolders:Row",
t_XmlNamespaceManager);
XmlDocument root = new XmlDocument(t_XmlDocument.NameTable... more >>
[Repost] Please have a look at newbie's XMLDocument code for flawed approach reading nested elements
Posted by Toh Sain at 3/16/2004 10:08:35 AM
I am getting correct results parsing the following document, but I =
suspect I may be doing more work than necessary by using nested =
XmlDocument objects when reading nested elements, e.g., the "x" and "y" =
elements under the "Resolution" and "PixelSze" elements in the element =
below:
<?x... more >>
XML Serialization problems...
Posted by R Avery at 3/15/2004 6:33:27 PM
Suppose I have some generic class, GenericObject, which only contains a
single property called PropertyList, and it is a collection of key-value
pairs where a key is the name of a given property, and the value can be
any serializable object, including a GenericObject.
I want to be able to s... more >>
XML DataGrid on Windows form
Posted by Graham K at 3/15/2004 5:16:08 PM
I'm trying to display an XML dodocument in a windows form, much like the XML designer. To this end I found the namespace "Microsoft.VSDesigner" which gives me the XmlGridControl, but when I drop it onto my Windows form I get the error message "Object reference not set to an instance of an object." a... more >>
How to
Posted by Invalidlastname at 3/15/2004 5:00:40 PM
Hi,
I have a xml document which defines site navigation elements, and I need =
to pass the user permission in xml form through xml <xsl:param> to =
render the navigation UI.
Here are the query I used to get the node set:
1- find all the <nav> nodes which contain @aaid attribute
2- use @aaid ... more >>
Bug? - String reader and XML reader (de)serialization issues
Posted by Brian Rogers at 3/15/2004 4:35:39 PM
To everyone:
I decided to re-post this as there were no responses. (I apologize)
Has anyone experience any of the issues I mentioned below? I was curious to
see if it was an implementation specific, or installation specific defect?
Does anyone think this is a bug?
(Code example below)
... more >>
Xquery
Posted by TheSaib at 3/15/2004 12:54:14 PM
Hello,
I'm looking for Xquery.msi , the microsoft processor for Xquery in .NET.
Does anyone got it , because the site XqueryserviceS.com is down from a long
time, and i need urgently it.
TheSaib
... more >>
XSLT - ordering dataTables - Template-driven transformation
Posted by waltborders NO[at]SPAM yahoo.com at 3/15/2004 6:03:29 AM
Hi, using XSLT I'm able to output data, in CSV form, to an Excel 2002
spreadsheet. The report format follows the DataSet table order, not
the required display order.
Problem: I need a report with a different table order.
I am trying to format the output of my DataSet from a C# ASP.NET web
p... more >>
Removing Tags from Output Document
Posted by BikerJR at 3/15/2004 5:46:16 AM
Let's suppose I have the following original XML document:
<?xml version="1.0" encoding="utf-8"?>
<root_element>
<node1>
<node1-1>
<node1-1-1>Some text</node1-1-1>
</node1-1>
</node1>
</root_element>
The following output document I need to get:
<?xml version="1.0" encoding="utf-8"?>
<... more >>
Changing the serialization of a predefined type
Posted by Chaim at 3/15/2004 3:06:11 AM
Hi,
I want to serialize a predefined type like System.Drawing.Size using the XmlSerializer,
but i don't want the Serializer to produce the xml start document line ("<?xml version="1.0" encoding="UTF-8" ?>")
and the name space part of the element ("xmlns="..."").
Is there a simple way of do... more >>
|