473,698 Members | 2,676 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Links in xslt

Bob
I have an xml document that I xslt into html for display. I include
various links to external (html) documents based on the specific data
encountered by the xslt transform.

I would like to repackage my xml/xslt/html data by transorming into
text or (if I can figure it out) pdf. When I produce the text, I
would like to insert the actual text from the external documents,
rather than a link to the external documents.

Is that possible and, if so, could someone point me to an example or
provide one? Thanks in advance for any help!

Bob.
Jul 20 '05 #1
2 1909
Bob wrote:
I have an xml document that I xslt into html for display. I include
various links to external (html) documents based on the specific data
encountered by the xslt transform.

I would like to repackage my xml/xslt/html data by transorming into
text or (if I can figure it out) pdf. When I produce the text, I
would like to insert the actual text from the external documents,
rather than a link to the external documents.

Is that possible and, if so, could someone point me to an example or
provide one? Thanks in advance for any help!


It's certainly possible but only if those external documents are in XML.
And in any case, how big are they? Inserting entire Web pages is going
to get messy unless you have some contyrol over markup consistency.

///Peter

Jul 20 '05 #2
Bob
Peter Flynn wrote:
Bob wrote:
I have an xml document that I xslt into html for display. I include
various links to external (html) documents based on the specific data
encountered by the xslt transform.

I would like to repackage my xml/xslt/html data by transorming into
text or (if I can figure it out) pdf. When I produce the text, I
would like to insert the actual text from the external documents,
rather than a link to the external documents.

Is that possible and, if so, could someone point me to an example or
provide one? Thanks in advance for any help!

It's certainly possible but only if those external documents are in XML.
And in any case, how big are they? Inserting entire Web pages is going
to get messy unless you have some contyrol over markup consistency.

///Peter

The external documents have not yet been written. I can do them in xml.
So - do you have a link or a very brief example????

Thanks again!

Bob.

Jul 20 '05 #3

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

Similar topics

2
5522
by: SDM | last post by:
I need to create a stylesheet to allow the querystring in my attribute links to format as: <TD<A href='IQNet.asp?f=2&t=3'>Choice 1</A></TD> not <TD<A href='IQNet.asp?f=2&amp;t=3'>Choice 1</A></TD> I can't put an XSLT tag inside an HTML tag so <xsl:text disable-output-escaping="yes"> won't cut it.
0
1621
by: Jurrie | last post by:
Hi all, I have a XML-document which i want to transform into PDF with apaches FOP. In my XML document i have <href> tags that are links to either a chapter in the document or to a place on the www. example: <ref type="intern" to="chapter 2"/> and <ref type="extern" to="http://www.website.com"/> In my XSL document i have this:
0
2417
by: Thomas Scheffler | last post by:
Hi, I runned in trouble using XALAN for XSL-Transformation. The following snipplet show what I mean: <a href="http://blah.com/?test=test&amp;test2=test2">Test1&amp;</a> <a href="http://blah.com/?test=test&amp;amp;test2=test2">Test2&amp;amp;</a> This results in the following HTML Code:
3
6798
by: NiQuil | last post by:
Hello people, I am creating a portal which should be easy maintainable by non-programmers. Thus far people can easyly change the text, set it Bold Italic and Underlined. Also i can set a footnote which will be displayed at the bottom of the text. The next feature i would like to create involves creating a link. --->I want to be able to insert a link in a piece of tekst.<---
4
4606
by: carlosramirez | last post by:
I'm just starting with XSLT and I'm having problems generating links. Here's a snippet of my xml file: users.xml <users> <user> <name>User1</name> <email>test@server.com</email> </user>
1
1950
by: Ron Vecchi | last post by:
I'm pretty new to XSLT so bear with I have an XML file that contains Names and ID's of a bunch of widgets. Using XSLT I would like to output an <A> link with the Widget's ID as part of the query string. <a href="myWidget.aspx?ID=WidgetID">WidgetName</a> I am having a hard time figuring out how to get the WidgetID inside of the href link. I can do everything else as far as get the Name between my links but that seems like the easy...
3
1864
by: jszczepankiewicz | last post by:
Witam, mam nastepujacy problem: XSLT 2.0, Hi, i've got following problem with xslt 2: my xml doc looks something linke: <manual>
0
784
by: Andy B | last post by:
I want to make an xslt file that formats and displays data from an XElement object through an xml control. I need to have the xslt file show edit/remove buttons next to each element/attribute that is displayed on the page. These buttons/links do have to actually work in the sense that you can actually edit/remove the particular element/attribute. Is there any way to do something like this?
2
1620
by: requeth | last post by:
I have the following XML file: <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="table_classname.xsl"?> <root> <classinfo> <classname>Rhetoric 10</classname> <classlink>http://webcast.berkeley.edu/course_details.php? seriesid=1906978535</classlink> <classrating>"A"</classrating>
0
8685
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
8612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9171
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8905
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,...
1
6532
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5869
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3053
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
2342
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2008
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.