Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XSLT
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 Display Modes
  #1 (permalink)  
Old September 12th, 2006, 12:01 PM
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 Hints for a good XSLT post

If you are making a post to the XSLT forum please bear the following hints in mind as this will make it more likely that someone can reproduce, examine and provide an answer to your problem:
  • Please use the search facility at the top of most pages before posting.
  • Please give your post a sensible subject. As this is an XSLT forum subjects such as XSLT problem are unlikely to stand out. Also avoid generic Help me requests. A good subject means the post will stand a better chance of being answered and make it easier to search the archives.
  • Please state which processor you are using along with the version, e.g. MSXML 4.0, .NET 2.0 or Saxon 8. The platform your running on, e.g. Windows XP will also help.
  • Please supply your source XML or at least a well-formed sample. Make sure that spurious characters, e.g. those appearing in Internet Explorer such as + and -, are removed.
  • Please show the XSLT you currently have.
  • Please show the desired output. If you can't specify the desired output, especially for complex HTML pages then there's little chance of anyone being able to guess what is needed.
  • If any errors occur please give the exact text.
  • Please be specific if the output is not what is required, rather than it doesn't work.

The two URLs below have solutions to many common questions.

For grouping problems, especially using XSLT version 1.0 see Jeni Tennison's XSLT site.

For a comprehensive FAQ see Dave Pawson's site.

Dave Pawson's site is especially good for namespace problems such as selecting items in a namespace or a default namespace, the most common cause of nodes not being selected when you think they should be.


--

Joe (Microsoft MVP - XML)
__________________
Joe
http://joe.fawcett.name/
Reply With Quote
The Following 2 Users Say Thank You to joefawcett For This Useful Post:
iceandrews (January 13th, 2009), jminatel (December 15th, 2008)
  #2 (permalink)  
Old December 21st, 2011, 02:01 PM
Registered User
Points: 11, Level: 1
Points: 11, Level: 1 Points: 11, Level: 1 Points: 11, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default xslt question

Being new to xml/xslt/solr, I am hoping someone can explain and help me with the following:

I am basing everything off the solr example that comes with the download, including xslt. I am using a php page for submitting the search, and display the result in html.

I indexed a 1.5MB size pdf document (400 pages). Using the admin interface with *:* query everything is there.

I then try using highlighting in the query, and modified the xsl file to return the highlighting.
It works fine for the text in the beginning of the document. I can query with a phrase between " " and it returns the exact match.

When searching content approx. beyond the first 100 pages, I see this behavior:
I must include common words in a phrase to get a result returned. For example if I search using the word handymen, that only appears in one place towards the end of the document, nothing is returned, but if I add a common word that appears in the sentence where handymen is; e.g. 'handymen that', then both are returned in the highlighting including many other occurrences of 'that'. If I query with "handymen that", nothing is returned.

thanks
Ben
Reply With Quote
  #3 (permalink)  
Old December 21st, 2011, 02:35 PM
samjudson's Avatar
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 2,133
Thanks: 1
Thanked 189 Times in 188 Posts
Default

A) don't reply to a post that has nothing to do with your question. especially this post.

B) what is solr and what does your question have to do with xslt anyway?
__________________
/- Sam Judson : Wrox Technical Editor -/

Think before you post: What have you tried?
Reply With Quote
  #4 (permalink)  
Old November 24th, 2014, 06:17 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

giat tham
Reply With Quote
  #5 (permalink)  
Old October 30th, 2017, 04:23 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2017
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for your useful hints
vệ sinh văn phňng
ve sinh van phong
vệ sinh căn hộ
ve sinh can ho

Last edited by tuonglun; November 7th, 2017 at 12:40 AM.
Reply With Quote
Reply


Thread Tools
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
Good XSLT coding Architecture for transformation anil2020 XSLT 0 August 27th, 2007 01:10 PM
Getting post/get parameters with XSLT? snorripall XSLT 2 October 6th, 2006 12:39 PM
Search engine with hints arnabghosh PHP Databases 0 February 22nd, 2006 09:14 AM
Hints NoeCH VB Components 1 January 20th, 2004 01:37 PM
Hints on controls.... NoeCH VB.NET 2002/2003 Basics 1 January 20th, 2004 01:36 PM



All times are GMT -4. The time now is 02:36 PM.


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