Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XSLT
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 27th, 2007, 05:45 AM
Authorized User
 
Join Date: Feb 2007
Location: , , .
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
Reply With Quote
  #2 (permalink)  
Old February 27th, 2007, 06:53 AM
Registered User
 
Join Date: Jan 2007
Location: Reading, , United Kingdom.
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




Reply With Quote
  #3 (permalink)  
Old February 27th, 2007, 07:38 AM
mhkay's Avatar
Wrox Author
Points: 18,487, Level: 59
Points: 18,487, Level: 59 Points: 18,487, Level: 59 Points: 18,487, Level: 59
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
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
Reply With Quote
  #4 (permalink)  
Old February 27th, 2007, 07:57 AM
Registered User
 
Join Date: Jan 2007
Location: Reading, , United Kingdom.
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




Reply With Quote
  #5 (permalink)  
Old February 27th, 2007, 11:01 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
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)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 05:46 AM.


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