I have one xml doc like this
<order id='111' typeid='1'>
<order id='112' typeid='2'>
I want to use xslt to transform it into a new xml --
<orde...Linq xml to dictionary help
Hello, I hope someone can help me. I need to load an xml element to a
dictionary using the attribute as the key. Here is a sample of the
I need a sorted list or a dictionary so the colors are in a specific
order. For example in the USA the colors need to be ordered red
first, white second and blue third. So I need to use the order
attribute as the key for the dictio...Possible to include other tags in a XSLT file?
Is it possible to include addition tags in a XSLT file, that the XSLT
processor will, for all practical purposes, ignore?
What I'm looking to do is to include a section to contain information
regarding what parameters the XSLT file is expecting. Then my program can
retrieve the information from the style sheet and prompt the user for the
necessary parameters. I'm envisioning the section would be something like
<Param name="City" prompt="City to search for" />
<Param name="State" prompt...Excel viewers
Excel can load both "traditional" excel files with the .xls extension, and it
can also open "XML" excel files with the .xls extention.
Why can't the Excel viewer open both. Currently it can only open excel
files; it doesn't recognise XML files.
Ultimately, I'd like to produce a markup file which I can then launch with
>>Currently it can only open excel files; it doesn't recognise XML files.
The viewer has been around quite a while, well before Excel 2003 which is
the first version that can read/write XML file. I ...XSLT query
I am using XSLT to transfor XML to HTML.
I have an XSLT variable , $PAGELINK. I need to specify this value as
an href attribute value of <a> tag.
something like <a href = $PAGELINK> Click me for new page </a>. This
is not working for me. $PAGELINK is treated as a text by XSLT engine.
I request your help to do this.
> I am using XSLT to transfor XML to HTML.
> I have an XSLT variable , $PAGELINK. I need to specify this value as
> an href attribute value of <a> tag.
> something like <a href = $PAGELINK&g...Reimport XML fails
Followed the instructions here:
to import an RSS feed for Craig's List:
It works great the first time, but if I want to update it, nothing happens???
Do I have to save the file each time and start with a fresh empty file with
just the mapping?
LMK - TIA
...XML Validating Reader problem
From: "R. Raghuraman" <firstname.lastname@example.org>
Subject: Problem with XMLValidatingReader?
Date: 01 April 2004 11:46
I have a large xml file to process (~ 70 mb). I am trying to use
XMLValidating reader. The first step was to try out the example in
quickstart samples with minor modifications [significant portions
below]. My intention is to validate the file against a DTD before
processing and to collect all validation errors in a single pass.
Public Class ValidationReadingXMLSample
Private WithEvents myXmlValidatingReader As XmlValidatingReader
Private myXmlTextR...XML Application
We use xml files to denote file configurations for our company. We are now
getting to the point where need a browser based method of maintaining and
creating the configuration files. I had written a small test app for
working with XML in ASP.Net and have found that it is painfully slow and
cumbersome. Can anyone give me some suggestions or sample links to articles
that would help develop an application of this type? I need to allow the
user to create a new configuration xml document and modify them with the
usual updates, inserts and deletes of nodes.
...xml templates #2
Is there a list available of all the variables that can be used in the
xml templates? I would like to add things like cashier name to the
receipt and on-hand to Inv received reports. I have tried Cashier.Name
etc but no luck.
...system.XML in VB6
I want to do some programming using XML in VB6, specifically
I have some sample VB.Net code that I can use. It has
<< Imports System.XML >> at the start of the code.
What's the VB6 equivalent of this? I've tried using that, but it
just gives an error message. Or maybe I'm putting it in the wrong
place. And it doesn't recognise XML operations without it.
A dotnet namespace such as System.XML is utterly meaningless in a VB6/VBA
environment, and nor is there any equivalent: VB.Net is not simply a more
recent version of VB6, it is totally new from...Format for imported Payable XML file
I don't have Great Plains, but our company is developing a accouting
software that will interact with Great Plains. Specifically, our program
will export accounting payable information into XML files which will be
recognized and imported by Great Plains. We have a sample XML file for Great
Plains, but we can't figure out the meanings of all those fields in the file.
Can anyone tell me where I can get information about the format of the XML
file or can anyone just explain to me what the meaning of these fields are?
...XML to RTF
There is an XML file, formed from dataset.
I want to see this in the RTF-document like a set of tables.
| Table1.Column1 name | Table1.Column 2 name | Table1.Column3 name|
|Column1.Row1 data | column2.row1 data | column3.Row1 data |
|Column1.Row2 data | column2.row2 data | column3.Row2 data |
+-------------------...unknown lookup style
I've modified the Case form to add the "responsiblecontactid" (a predefined
field), but when I attempt to add a contact to a case, I get an error:
"unknown lookup style - your properties xml is probably not set properly - "
Anyone resolve this yet?
Dont waste your time. I wasted a lot of mine. This is a "documented feature" according to Microsoft terminology. Please refer this techknowledge article for details.
...Need help with xml and xsl design
This is what I have in mind and I will appreciate any suggestions.
I am trying to create a xml help system for my application. The schema of
the xml file will be
<help id="unique id">
href="optional tag which will hold a reference to a uri"
helpanchor="this is also a optional attribute which will point
to a helpid in the same document or a different document"
helpanchorhtmlfile=" this attribute will only be present if the
Is it possible to transform Two XML documents at once using XSLT?
"Prashant C" <PrashantC@discussions.microsoft.com> wrote in message
> Is it possible to transform Two XML documents at once using XSLT?
...XSLT with Database
Is it possible to query database in XSLT? or pass value to XSLT through C#
Prashant C wrote:
> Is it possible to query database in XSLT? or pass value to XSLT through C#
> or VB.NET
You have three options:
1) global parameters in the stylesheet e.g.
which you can set with C# or VB.NET code before you run a
2) extension "script" coded in VB.NET or C# or JScr...New to XSLT and can't select even the first node... Any Help?
Hey, brand new to XSL and XSLT. I've downloaded an evaluation copy of XML
Spy to debug my transformation, but I can't get to frist base.
Can anyone help my get straightened out?
My XSLT is:
<xsl:output method="xml" />
</xsl:t...XML cannot be opened, try again, opens?
Greetings all, my first post to microsoft.public.excel.
I have created about 30 xml spreadsheets. To create the sheets I
saved a workbook as XML. I removed the "ss:ExpandedRowCount=".
Choppped the XML file into a header & footer & my application supplies
from <row> to </row> in the middle.
Most of the files load okay but about 1 in ten comes up with a 'Cannot
open XML' message from Office Assistant.
The thing is, I go back to File Explorer, press enter to load the same
file & it loads just fine into Excel.
Im running Excel 2003 (18.104.22.16868) SP2 o...Need Help with reading XML from an URL
I have tried to read XML from an URL using the XmlTextReader:
XmlTextReader reader = new XmlTextReader(http://www.<domain>.com/?getxml=1);
But reader.ReadOuterXml() only returns an empty string, what's wrong?
Did you move to the root of the document? You might try
reader.MoveToContent() and see if that helps.
Microsoft MVP - ASP.NET and XML Web Services
"Apogee" <email@example.com> wrote in message
> I have tried to read XML from a...XSLT Development Tools?
Hi group, searching in the Internet I found two products for XML which
incorporate a very robust debugger for XSL/XSLT, I would like you to see
these products and then, give me your opinion about the development
environment or recommend me some other that you know.
If you're willing to try Beta software there is also an XSL debugger
included in Visual Studio 2005 Professional and above which gives you the
ultimate debugging experience which is stepping...XML Receipt Text Comparisons
I'm having problems comparing two text fields.
Why doesn't this work?
<SET name="LookupCodeFreight" custom="true" type="vbString"> "Freight" </SET>
<CONDIDTION> Entry.Item.ItemLookupCode = LookupCodeFreight </CONDIDTION>
<ROW> Entry.Item.ItemLookupCode " Is Freight" </ROW>
<ROW> Entry.Item.ItemLookupCode " Is Not Freight" </ROW>
Results are always false
Freight Is Not F...How do you create an XML document based on an XML Schema?
How do you create an XML document based on an XML Schema?
I have an XML Schema that defines several primary XML document types
(i.e. the top-level element contains 4 complex type child elements in
a choice group). I used xsd.exe to generate classes to simplify
setting the values in the instance objects. My question is how do I
serialize the objects to an XML document based on a specific child
element referenced in the XML schema's choice group?
I've got a really laborious task at my work. I have to write documentatio
to my C# code in MS Word till Wednesday. They don't care that, documentatio
already exist in MSDN format generated by nDoc. They still want it, in M
While I was writing a code, I always documented all my methods, class an
namespaces in VS.NET XML format documentation. But now, I've got 130 page
long XML document, MS Word template, and 3 days to copy and past all of dat
in XML to new MS Word document
Do you know any program, which could help me in automation this laboriou
For all of ...New to xml
I'm trying to write my xsl to display an unordered list fromt the xml file
where location is equal to top:
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="~/index.aspx" title="Home" location="top">
<siteMapNode url="~/about_us/index.aspx" title="About Us" location="top" >
<siteMapNode url="~/about_us/mediaroom.aspx" title="Media Room" />
<siteMapNode url="~/about_us/awards.aspx" title="Awards" />
Reposting since this forum might be more appropriate for my question.
I have written a simple piece of code in C# that takes a xml file as input,
applies a xsl transform and outputs a xml file.
I want to validate my output xml file against the xsl file to verify that
the output is as expected. How can i do this?
Thanks in advance!
> I have written a simple piece of code in C# that takes a xml file as input,
> applies a xsl transform and outputs a xml file.
> I want to validate my output xml file against the xsl file to verify that
> the output is as exp...