Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 23rd, 2008, 03:02 AM
Registered User
 
Join Date: May 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default xslt for tags

Hi

i have the following tag structure

<para>This is new dictionary <pointer href="new.pdf">new</pointer> with
latest values</para>

how to make xsl for the above structure.

please help

 
Old May 23rd, 2008, 03:39 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

XSLT is a transformation language - so you take some input and transform it to an output.

So what your XSLT looks like depends greatly on what you want you output to look like - which you don't say.

Please start by reading some simple tutorials on the web, such as those at www.w3schools.com/xsl and giving it a go yourself, then if you have a specific question you can come back and ask further questions.

/- Sam Judson : Wrox Technical Editor -/
 
Old May 23rd, 2008, 03:55 AM
Registered User
 
Join Date: May 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I'm able to generate the xsl for the following structure
<para>
 <pointer href="new.xml">new</pointer>
</para>

I've tried many methods but the results are not as required.
pls help me to generate xsl for my post


 
Old May 23rd, 2008, 04:57 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Read the first post in this forum on what makes a good post, samples of input, desired output, platform and what you have tried so far.

--

Joe (Microsoft MVP - XML)
 
Old May 23rd, 2008, 05:57 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

If you don't tell us what output you want how can we help you write code to produce it?

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference





Similar Threads
Thread Thread Starter Forum Replies Last Post
strip html tags with xslt smiter XSLT 4 June 19th, 2012 08:34 AM
add HTML tags via XSLT chopswil2 XSLT 3 November 5th, 2007 09:30 AM
Replacing tags within xml using xslt patelgaurav85 XSLT 0 June 19th, 2007 12:34 PM
XSLT output with tags trinkets XSLT 22 November 14th, 2006 11:22 AM
XSLT help : Interpretting HTML tags from XML kunal_kishan XSLT 1 June 26th, 2006 05:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.