473,795 Members | 2,865 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating multiple documents

Hi to all,

I am using XALAN processor and xslt 2.0 and I have managed to take an XML
file and split it into multiple documents. This is done via the Oxygen
editor.

I now need to write a C# program that will take the XML and XSLT file as
inputs and transform the XML file.

Any clues on how to get started would be appreciated.

Sham.
Jul 14 '06 #1
3 1745


sham wrote:

I am using XALAN processor and xslt 2.0 and I have managed to take an XML
file and split it into multiple documents. This is done via the Oxygen
editor.
Does Xalan support XSLT 2.0? I don't think so. Saxon 8 does support XSLT
2.0.
I now need to write a C# program that will take the XML and XSLT file as
inputs and transform the XML file.
If you really want to use XSLT 2.0 with .NET then you need to install
Saxon.NET from http://www.saxonica.com/.

If all you need is to create multiple output files then EXSLT.NET can
help: <http://www.xmlmvp.org/exslt/index.html#mult iout>

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Jul 14 '06 #2
Hi Martin,

Sorry you were right, it is Saxon I used and not Xalan.

The example I have seen with C# use an xmlWriter. Since the files are
created by the processor, what classes do I use.

Thanks

Sham.
"Martin Honnen" <ma*******@yaho o.dewrote in message
news:OL******** ******@TK2MSFTN GP04.phx.gbl...
>

sham wrote:

>I am using XALAN processor and xslt 2.0 and I have managed to take an XML
file and split it into multiple documents. This is done via the Oxygen
editor.

Does Xalan support XSLT 2.0? I don't think so. Saxon 8 does support XSLT
2.0.
>I now need to write a C# program that will take the XML and XSLT file as
inputs and transform the XML file.

If you really want to use XSLT 2.0 with .NET then you need to install
Saxon.NET from http://www.saxonica.com/.

If all you need is to create multiple output files then EXSLT.NET can
help: <http://www.xmlmvp.org/exslt/index.html#mult iout>

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/

Jul 14 '06 #3


sham wrote:

The example I have seen with C# use an xmlWriter. Since the files are
created by the processor, what classes do I use.
I have made two suggestions, either to try Saxon.NET or to use EXSLT.NET.
If you install EXSLT.NET then you can use the MvpXslTransform class
documented here:
<http://mvp-xml.sourceforge .net/api/2.0/T_Mvp_Xml_Commo n_Xsl_MvpXslTra nsform_Members. html>
--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Jul 14 '06 #4

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

Similar topics

0
1157
by: tim.tadh | last post by:
Hi I am writing a program that allows a user to annotate text documents, and later html, html variants, and PDF files. My program is able to load multiple documents at once and creat linked anotations between these documents. Therefore i want to create a custom system to save the files. Ideally I want a project description file that gives the program all the neccessary information to build the project when loaded, the document files,...
2
1770
by: Eliza Zadura | last post by:
Is there a way to transform an XML into several result HTML-documents? I am working with rather large XML-files as input and the desired output is primarily HTML and am looking for a way to produce several, interlinked HTML result documents.
3
13829
by: SpamProof | last post by:
I'd like to be able to print multiple documents are once using vb.net. What is the best way to do this with out having to print each document one at a time via a loop . Can't I send them all to a spool at once or something? Ideally, I would like the code such that multiple users can print via my application at the same time. Any help would be appreciated. Thanks
2
11194
by: AMT2K5 | last post by:
Hello. When I compile my program I recieve lots and lots of the following message which I am trying to decipher. "xxx was declared deprecated". What exactly does that mean?
1
1561
by: matpublic | last post by:
Hi, I'm using reporting services (localreport) to generate multiple PDF reports. These individual reports (documents) need to be printed together using different trays on the printer (Doc A from tray 1, Doc B from tray 2). The problem I have is that this is a multi user system and so if two users were printing at the same time, the documents could get mixed up.
4
1926
by: Michel Verhagen | last post by:
Hi, I want to create a DTD in an XML file in memory. The XML file is created using the DOM in C#. I am new to all this, but couldn't find anything about creating DTD's using the DOM (well, I found some references but it doesn't tell me how to do what I want). Here's my code: XmlDocument xdoc = new XmlDocument();
3
1219
by: Jordan S. | last post by:
I would appreciate your thoughts and opinions on the following: I am looking to render documents into multiple document formats. At a minimum the documents will need to be rendered as HTML, and separately as PDF. Ideally we could also offer a subset additionally as xls and docx (Excel and/or Word 2007) files. All files will be distributed via ASP.NET Web site. This is a "greenfield" project using .NET 3.5, and I can do whatever I want.
0
2254
by: kishorealla | last post by:
Hello I need to create a web bot/crawler/spider that would go into different web sites and collect data for us and store in a database. The crawler needs to 'READ' the options on a website (either from drop-downs, radio-buttons or check-boxesand) to create some input itself OR use some generic pre-defined words (that we provide it with). For example, a webpage might be structure with a text field and some drop-downs. Typically, if the user...
0
1396
Pittaman
by: Pittaman | last post by:
Hello, We're developing an application (.NET 2.0) that let's users drop documents in the application and allows users to show some document types "embedded". For example, a textfile would appear as a text box. We also want this for office documents, and want to give the user the possibility to edit these documents inline, so they will not have to work in a separate excel window. We've been using the Webbrowser Control for this, but this...
0
9672
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10213
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10163
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10000
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9040
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3722
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.