all groups > dotnet xml > july 2004 > threads for july 8 - 14, 2004
Filter by week: 1 2 3 4 5
problem with xml:lang
Posted by OJO at 7/14/2004 11:35:31 PM
Hello microsoft.public.dotnet.xml!
I need to parse some 'jabber xml' (www.jabber.org). I opted for using
System.Xml.XmxDocument. The sample 'jabber xml' goes here:
<message xmlns='jabber:client' from='chat@server.com/user1'
xml:lang='pl' type='groupchat' to='user2@server.com/res'>
<body x... more >>
Multiple schemas, one xml doc
Posted by anonymous NO[at]SPAM coolgroups.com at 7/14/2004 5:57:20 PM
When I use the schema collection to apply many schemas to
one XML instance document, I get an error if I do not
qualify every element with the appropriate namespace.
Both the W3C site and this article
(http://www.xfront.com/ZeroOneOrManyNamespaces.html) imply
that I can submit an XML inst... more >>
Apply XSLT To XML File
Posted by Wayne Wengert at 7/14/2004 2:18:25 PM
I have an xml file in which I reference an xsl template file to convert the
xml to HTML. My system also has VSNET 2003 installed and when I open the xml
file in IE6 it opens the file in VSNET instead of processing the file with
the stylesheet.
How can I get the file to apply the stylesheet?
... more >>
Newbie: trouble validating xml file
Posted by Jeff at 7/14/2004 11:08:03 AM
IDE: Visual Studio 2003 .NET (7.1.3088)
OS: XP Pro
..NET Framework 1.1 (1.1.4322)
I'm experimenting with xml in .net, and having trouble to get a xml file
validated without any errors/warnings in VS . So I searched the web and
found this example at
http://support.microsoft.com/default.aspx?s... more >>
XML Root Node
Posted by Mythran at 7/14/2004 9:49:45 AM
I have a file I'm using as a Configuration file (configuration as in options and
such). When I create the xml file in the .Net IDE, it places the following
(snip):
<Configuration xmlns="Blah">
</Configuration>
This is the way I'd like it but it doesn't work this way :( When I validate i... more >>
.net framework XSLT processor appears to be broken
Posted by a701440 NO[at]SPAM hotmail.com at 7/14/2004 7:05:08 AM
I stumbled upon this while developing a custom XPathNavigator.
It appears that copy action for attributes is broken in the .net
framework XSLT processor.
The intent was to just copy the entities and attributes from the
source XML into the output using simple "identity" like XSLT:
<xsl:style... more >>
Accessing the root node of an xml document
Posted by sutcliffe_grant NO[at]SPAM hotmail.com at 7/13/2004 11:33:50 PM
Hi
Hopefully someone can assist me establish how to access the root node
and the first level node of an XmlDocument which I have loaded as per
the code below. So far, all I can achieve the output I need with the
root node hard and the first node coded. In the foreach I retrieve is
next child... more >>
a XMLException
Posted by Mystique at 7/13/2004 10:11:57 PM
I'm reading elements from a XML file, and when i get to
anElement.Name = aReader.ReadElementString();
when i'm debugging i get the exception:
'EndElement' is an invalid nod type. Line 4, position 31.
and when i'm not debugging i get (just start without debugging):
'None' is an invalid n... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
XSLT, XPath, and XSL Formatting Objects (XSLFO)
Posted by David Laub at 7/13/2004 11:47:40 AM
does dot net support apis for XSLFO in addition to XSLT?
Thanks
... more >>
MergeFilterQuery gobbles up the whole document!
Posted by Steve Taylor at 7/13/2004 11:13:06 AM
I've got a custom XPathNavigator that encapsulates a stream. I'm using
xpath expressions to seek forward to various positions within the stream.
Using a limited set of xpaths, I can get my stream to move forward only (no
backward seeks). This works fine until a filter expression is introduced,
... more >>
XmlValidatingReader unbelievable error
Posted by amaretos NO[at]SPAM yahoo.com at 7/13/2004 8:25:53 AM
Hi everyone, I am trying now for 4-5 hours to write a simple code to
validate a very simple XML and i still get an error. Here is my Code,
and i always get an error at args.Exception
("The 'urn:books:catalog' element is not declared. An error occurred
at file:///c:/inetpub/wwwroot/LakisServic... more >>
Converting dat from one format to another
Posted by Rishit at 7/12/2004 7:10:27 PM
Hello All,
I have to convert XML data (that may be received through a dataset) to other formats such as CSV, Excel etc. Are there any libraries or sample code that would help me do this task.
I have also to decide on the approach for doing this. The Destination Format needs to be configurable so t... more >>
Using XSLT to Append Attributes to an XSD File
Posted by David Elliott at 7/12/2004 2:23:52 PM
I wrote an application to scrape a database and create an XSD file which will be annotated
by a map file in order to create a Typed DataSet. I was wondering if I could do the annotation
using XSLT.
Here is background on Typed DataSet:
Using Annotations with a Typed DataSet
http://... more >>
xsltransform replaces "<" with entities
Posted by at 7/12/2004 1:45:26 PM
Hello NG!
Within a xsl-stylesheet I have an element
<xsl:text><![CDATA[...<br>...]]></xsl:text>
If I use that stylesheet to transform some xml-data (to html) with
....
pOut = New System.IO.StringWriter
pXslt.Load(strStylesheetFile)
pXslt.Transform(pXPathNav, Nothing, pOut, Nothing)
.... more >>
DataSet to XML
Posted by joesmith98765 NO[at]SPAM hotmail.com at 7/12/2004 11:32:52 AM
I have data coming from SQL Server and need to write out some XML. I
have a schema(xsd) for this XML file. Right now I am bringing in the
DataSet and writing out the elements and attributes myself using
xmltextwriter to match schema without really using the xsd at the time
of writing.
The fi... more >>
node-sets not sent to xslt extension object correctly
Posted by Douglas Steen at 7/11/2004 11:20:40 PM
Here's what I have (in snippets)
** XML **
<parent>
<child>
<grandchild/>
</child>
</parent>
** XSLT **
<xsl:template match="/parent">
parent: <xsl:value-of select="util:LocalName(.)"/>
child: <xsl:value-of select="util:LocalName(child)"/>
grandchild: <xsl:value... more >>
ReadXML giving different results on different PCs
Posted by RM at 7/10/2004 3:21:58 PM
I am using DataSet's .ReadXml() method to parse an XML file that has an
inline schema and Im getting "different" results on various machines
using the same myDataSet.ReadXml("myExample.xml").
Out of 5 test machines, my results are as follows.
1 Windows 2000 Server and
2 Windows XP Profess... more >>
MSXML3.0 in ASP.Net
Posted by ram at 7/9/2004 3:45:02 PM
Hi
i AM USING VISUAL STUDIO.NET FOR MY ASP.NET PROGRAMS. I would like to access xml files using MSXML3.0 parser. Can any body tell me the syntax of "Import" statement to call this control in my program? Possible please give me MSXML3.0 reference URLs.
Thx
Ram... more >>
find all the empty nodes in a document
Posted by tMan at 7/9/2004 11:38:01 AM
whats the xpath to get all the empty nodes in a document. in the xml below i want to get the nodes <empty> and <t>
all other nodes either have a child node or text in them
<root>
<test>
<se>
<li>test</li>
</se>
</test>
<bs>
<empty></empty>
<re>
some other test
<t>
</t>
</re>
</bs>
... more >>
How xslt
Posted by elainsun2000 NO[at]SPAM yahoo.com at 7/9/2004 11:06:03 AM
Hi all,
I have one xml doc like this
<test>
<orders>
<order id='111' typeid='1'>
<amount>300</amount>
</order>
<order id='112' typeid='2'>
<amount>300</amount>
</order>
</orders>
<types>
<type id='1'>
<name>toy</name>
</type>
<type id='2'>
<na... more >>
XPathNavigator not working when schema used
Posted by osalahu NO[at]SPAM yahoo.com at 7/9/2004 7:57:00 AM
PLEASE HELP!
I'm writing a function to populate DropDownLists from and xml file. I
am having a problem getting my XPathNavigator to select any nodes when
I attach a schema to my xml document.
Xml Doc: Dropdown.xml
XML Schema: Dropdown.xsd
Here is my XML Document...
<?xml version="1.0"... more >>
problem with serializer constructor
Posted by mark_groot NO[at]SPAM hotmail.com at 7/9/2004 3:10:06 AM
Hi all,
i'm trying to serialize a class. Using the constructor of
XmlSerializer i get these (odd?) errors: "File or assembly name
goseij9w.dll, or one of its dependencies, was not found". Everytime i
run the testprogram it complains about another exotically named dll
like et_kn-hl.dll or afea... more >>
xpath and use of //
Posted by John A Grandy at 7/8/2004 8:25:16 PM
has anyone seen a situation similar to the following ?
<level1 >
<level2 >
<level3 anAttribute="value3" />
</level2>
</level1>
Dim filePath As String
Dim node As XMLNode
Dim xmlDoc As XMLDocument
Dim xpath As String
filePath = "c:\test\myXMLDoc.xml"
xmldoc = New XMLD... more >>
Convert HTML to XML
Posted by MLibby at 7/8/2004 6:19:01 PM
How do I convert an HTML page into XML? My initial thought is to convert the page to xslt but I'm not sure how to do this. Please provide any source code examples if you have them.
Thanks,
Mike
--
mcp, mcse, mcsd, mcad.net, mcsd.net... more >>
XML Whitespace
Posted by solex at 7/8/2004 5:33:17 PM
Hello,
Is there an easy way to add whitespace to an XML document? I am getting a
stream from a WebDAV request and would like to display it in a readable
fashion in a text box.
Thanks,
Dan
... more >>
filtering nodes containiing qname valuies using xpath
Posted by enrico sabbadin NO[at]SPAM infinito at 7/8/2004 12:16:26 AM
hi, while playing with the SAML specs I found that one must insert a =
node like this if the call succeded
<status xmlns:z=3Dmynamspace" ...=20
<z:statuscode result=3D"z:Sucess"/>
...
How do I set up an XPATH filter that veriffies if the call succeed ? .. =
I mean i cannot hardcode z... more >>
|