473,396 Members | 1,987 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

trying to get started with simple xml stuff - use xalan ?

I am a C++/Java programmer trying to get going with some simpe xml
transformations at work here. I bought the O'Reilly book
Learning xlst for kicks. Someone at work sent me this
xml shown below, they wanted me to try to output some simple
text which summarizes the basic data in the xml and do it without
perl.
After that I guess they will want me to convert other xml files
into some kind of text file I am assuming. I downloaded xalan,
but I'm not sure if the NT version
will work on windows 2000. It appeard to not have a binary
file in the samples directory and I didn't see a C version for windows
2000
in the binaries directory of the download site. Should I go with the
java version ? The book says to get the C version. What difference
does it make ? I'm busy with a bunch of other stuff but am trying to
get a feel for xslt on the side and decide whether I like it or not
etc. I did some work with an xml parser in Java using DTD. Someone
else had actually started the project and left and I did some work on
it. Most of the xml stuff had allready been done
so I didn't get alot of xml exposure from that, though it's obviously
not rocket science.

<?xml version="1.0" encoding="utf-8"?>
<cust>
<cust_detail indiv_id="123" name="Nilesh" />
<cust_detail indiv_id="456" name="Larry" />
</cust>
Jul 20 '05 #1
1 1589
su********@yahoo.com (Larry) wrote in message news:<fa**************************@posting.google. com>...
I am a C++/Java programmer trying to get going with some simpe xml
transformations at work here. I bought the O'Reilly book
Learning xlst for kicks. Someone at work sent me this
xml shown below, they wanted me to try to output some simple
text which summarizes the basic data in the xml and do it without
perl.
After that I guess they will want me to convert other xml files
into some kind of text file I am assuming. I downloaded xalan,
but I'm not sure if the NT version
will work on windows 2000. It appeard to not have a binary
file in the samples directory and I didn't see a C version for windows
2000
in the binaries directory of the download site. Should I go with the
java version ? The book says to get the C version. What difference
does it make ? I'm busy with a bunch of other stuff but am trying to
get a feel for xslt on the side and decide whether I like it or not
etc. I did some work with an xml parser in Java using DTD. Someone
else had actually started the project and left and I did some work on
it. Most of the xml stuff had allready been done
so I didn't get alot of xml exposure from that, though it's obviously
not rocket science.

<?xml version="1.0" encoding="utf-8"?>
<cust>
<cust_detail indiv_id="123" name="Nilesh" />
<cust_detail indiv_id="456" name="Larry" />
</cust>


If you simply want to experiment with xslt, or do very simple transformations,
on a Windows 2000 box, I suggest you simply use the msxsl utility.

To quote Microsoft:

"The msxsl.exe command line utility enables you to perform command line
Extensible Stylesheet Language (XSL) transformations using the Microsoft
XSL processor. Less than 30 kilobytes (KB) in size, the msxsl.exe utility
invokes the Microsoft XML Parser 4.0 (msxml4.dll) to perform the
transformation."

-F
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Joseph Barron | last post by:
Here is a SIMPLE problem that I'm trying to solve. It works in Netscape 6.2, but IE6 gives ""No such interface supported." Below are page1.htm and page2.htm . In page1.htm, there are two...
1
by: KevinW | last post by:
Imports System.Data.OleDb Imports System Imports System.Data Imports System.Data.Common Imports System.Windows.Forms Public Class Form1 Inherits System.Windows.Forms.Form I am trying to...
1
by: Rich | last post by:
When I try to publish my app I am now getting the 401 error message. It used to work. Then someone changed something on the server. We are now trying to change stuff back on the server. I don't...
2
by: UJ | last post by:
I'm trying to upload stuff using the UploadFile from WebClient and I've noticed that it adds header and footers to the stream. Is there any way to get rid of that automatically? I'm using...
2
by: bpnet | last post by:
Hi am wondering if u can give me a little help with some code. Im a little new to JS so please bare with me :) Im creating a login code for our clients to visit a section on our website that is...
3
by: kal | last post by:
Hi I am trying this simple custom control. from here: http://samples.gotdotnet.com/quickstart/aspplus/doc/webctrlauthoring.aspx#innercontent when i browse the page it gives me an error: ...
2
by: netchicken | last post by:
Hi there, I am flumoxed with this error that has been plaguing me. I have loaded up script.aculo.us and prototype, and tried to tet them to run, just simple stuff, to slide down and fade...
5
by: Rowan | last post by:
Hi there, I am planning/building an n-Tier system with 2 presentation layers (web, windows) which will share the BLL and DAL. This is my first experience with .Net. As a VB6er I had to work...
5
by: fussfart | last post by:
I'm trying to do something that should be very simple but isn't working! (I also want to do something somewhat more complicated, but that has to wait until I figure out the simple stuff.) First, I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.