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 February 27th, 2007, 05:45 AM
Authorized User
 
Join Date: Feb 2007
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to read node dynamically

i want to make a xsl which will read the node dynamically and put the node value in div as per their hierchy structure in output html...so the dive structure in html follow the node structure of xml
can anyone help me with the xsl structure..thnx
 
Old February 27th, 2007, 06:53 AM
Registered User
 
Join Date: Jan 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey Gantait - when posting a question to the forum always try and include the following:

1. Example XML
2. The output/result you want
3. Any XSL code you have already tried

You are much more likely to get an answer if members do not have to make assumptions about your question.
(and less likely to incur the wrath of certain members)

Regards
Bryan
www.3chillies.co.uk




 
Old February 27th, 2007, 07:38 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

>wrath

If you mean me, I'm sorry if I come over that way. I'm not really angry, I just get frustrated sometimes because I really want to help people and sometimes they make it so difficult. The advice is quite correct: show a small XML source document, the output you want, and the XSL you have tried. If it didn't work, tell us the symptoms (the incorrect output or the error messages.) This is particularly important for people whose English is poor, because XSLT is a universal language!

(Sometimes though I find it hard to tell the difference between people who are struggling with limited English, and people who are using teenage text slang because they are lazy or think it's cool. Either way, it can be hard to understand. That's no reflection on the present poster.)

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
 
Old February 27th, 2007, 07:57 AM
Registered User
 
Join Date: Jan 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

"wrath" was probably a little strong :)

Maybe a subtle reply containing a link to Joe's sticky post would do the trick (http://p2p.wrox.com/topic.asp?TOPIC_ID=49630)

Bryan




 
Old February 27th, 2007, 11:01 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

That sticky post was my way of venting my wrath :)

--

Joe (Microsoft MVP - XML)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamically cha nging root node!!!!!!! rakesh XSLT 4 July 29th, 2008 09:31 AM
how to append child node after an node in XML + C# vishnu108mishra XML 5 November 13th, 2007 05:30 AM
Read input from Dynamically Controls sois C# 3 August 20th, 2007 06:56 PM
Read xpath query from node value jaquing XSLT 2 January 11th, 2006 06:50 PM
Copying Source Node attributes to output node pvsat XSLT 2 November 3rd, 2005 09:46 AM





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