|
What's a good rule of thumb to use when deciding to add an element or attribute to a datatable?
|
|
|
|
|
Maybe this can help: USING ELEMENTS VS. ATTRIBUTES[^]
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
|
Nice.
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
|
|
|
|
|
XimpleWare is proud to announce the release of version 2.0 of
VTD-XML, the next generation XML parser/indexer. The new
features introduced in this version are:
* VTD+XML version 1.0: the world's first true native XML index
that is simple, general-purpose and back-compatible with XML.
* NodeRecorder Class that saves VTDNav's cursor location for
later sequential access.
* Overwrite capability
* Lexically comparisons between VTD and strings
To download the software, please go to
http://sourceforge.net/project/showfiles.php?group_id=110612
To read the latest benchmark report please go to
http://vtd-xml.sf.net/benchmark1.html
To get the latest API overview
http://www.ximpleware.com/vtd-xml_intro.pdf
|
|
|
|
|
i am fetching some data from SQL based on JOINs [from 2 tables] and then utilizing that XML file and transforming through XSLT and now i need another JOIN and then to compare some fields returned from 1st Query to 2nd Query and then need to display that data through XSLT. how can i achieve.
.NET
|
|
|
|
|
Maybe this can help: Multiple Source Documents[^]
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
hi i am taking some data from xml file through xslt and then displaying selected data in HTML table format on a page and now i want to export that HTML table into excel how can do that.
I love .NET
|
|
|
|
|
|
Hello!
I'm trying to use an XSL stylesheet to transform an XML document into a CSV file. This works
quite fine, except one problem: XSL outputs an XML header:
<?xml version="1.0" encoding="utf-8"?>
"Item 1","Sub-Item 1.1","SubItem 1.2"
"Item 2","Sub-Item 2.1","SubItem 2.2"
"Item 3","Sub-Item 3.1","SubItem 3.2"
"Item 4","Sub-Item 4.1","SubItem 4.2"
Is there any XSL command that prevents the output of the first line?
Best regards
Dominik
|
|
|
|
|
XSLT <xsl:output> Element[^] You're looking for the omit-xml-declaration attribute.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
Exactly what I was looking for, thanks a lot!
|
|
|
|
|
hi
how i can convert RMS database to XML File or SQL Server or any type of database ?
and ho i can connect my application witt RMS Files ?
|
|
|
|
|
Greetings.
I have a method that takes two XmlElement objects. I want to find out if the XmlSchemaSet I have a reference to allows the first element to be a child of the second element.
What's the best way to do queary a schema to find out if an element type can be a valid child of another element type?
Thanks!
Ian
|
|
|
|
|
hello sir,
Please tell me the easiest way to learn .net framework,c#
vb,asp.net in effient way.
|
|
|
|
|
First, you need a development environment with Visual Studio .Net.
Second, you need to decide which language you would like to learn first. Once you get that figured out, you need to get some books. Check Amazon.com for books on your desired topic and be sure to read the customer reviews.
As for C# and the .Net Framework, I highly recommend two books:
Microsoft Visual C# Step by Step - this is an excellent book for learning the C# language.
CLR via C# - This is quite possibly the best technical book I've ever read and is an absolute requirement for anyone who wants to develop .net applications.
Also, if you want people to reply to your questions, it is best to pay close attention to the forum you are posting in and keep your questions to the specified topic. This forum is for XML/XSL related questions.
Good luck!
Ian
|
|
|
|
|
How about asking in the appropriate forum?
|
|
|
|
|
Nah, that would be too... logical!
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
|
|
|
|
|
Hi All
Is it possible to access xml with javascript.If Yes then someone would please help me with the code
Thanks
Karan
|
|
|
|
|
wrote: Is it possible to access xml with javascript.
What exactly do you mean with that? Do you want to read an XML file? AFAIK this is not posssible.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
Yes, it is possible.
You can use AJAX to download/upload xml data from/to remote server.
If you want XML parsers, google for "Sarissa" and "XML for SCRIPT" Javascript libraries.
-------------------------
Don't worry, be happy )
|
|
|
|
|
XML FILE
--------
<company>
<employee id="001" sex="M" age="19">Premshree Pillai
<employee id="002" sex="M" age="24">Kumar Singh
<employee id="003" sex="M" age="21">Ranjit Kapoor
<turnover>
<year id="2000">100,000
<year id="2001">140,000
<year id="2002">200,000
In InLine Code:
--------------
var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
function loadXML(xmlFile)
{
xmlDoc.async="false";
xmlDoc.onreadystatechange=verify;
xmlDoc.load(xmlFile);
xmlObj=xmlDoc.documentElement;
alert(xmlObj.xml);
}
function verify()
{
// 0 Object is not initialized
// 1 Loading object is loading data
// 2 Loaded object has loaded data
// 3 Data from object can be worked with
// 4 Object completely initialized
if (xmlDoc.readyState != 4)
{
return false;
}
}
In CodeBehind
--------------
create one Button then
In Page_Load write this
Button1.Attributes.Add("onclick", "return loadXML('Sample.xml')")
from my Knowledge i wrote this
regards
kamal
|
|
|
|
|
Hi, I'm creating wordml file with xsltransform. I need to get some images from my localhost. When I write http://localhost/images/...jpg in the wordml file there is no problem. But I wrote in the xsl like: <xsl:value-of select="string('http://localhost/images/....jpg')"> she says "Missing mandatory attribute 'select'. In the same way, I wrote <xsl:value-of select="url('http://localhost/images/....jpg')"> same thing happened. How can I get these images? Thanks...
Savas
|
|
|
|
|
savasorama wrote: When I write http://localhost/images/...jpg in the wordml file there is no problem.
So why don't you just write the url into the wordml file.?
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
because I'm generating xsl with code and then transforming to wordml. I wrote this url while debugging. So I need xsl:value-of
Savas
|
|
|
|