Sign Up
Search
Options
search
Chat
Help
News
Log in
Not Logged in
Home
»
Boards
»
Stylus Studio Developer Network
»
XSLT Help and Discussion
»
Help with for-each Xpath problem
Conferences
Stylus Studio Feature Requests
(1192)
Stylus Studio Technical Forum
(14621)
Website Feedback
(249)
XSLT Help and Discussion
(7625)
Use of before and after string
(3)
How do I substitute element ty...
(1)
How does one add working days ...
(4)
Help, I have existing XLT and...
(1)
Need help on XSLT issue -
(2)
EDI to XML Conversion
(7)
XML To JSON Conversion using X...
(1)
Formatting Paragraphs to same ...
(2)
Grouping of records
(1)
Problems with xsd 1.1
(4)
XML to HL7 mapping
(3)
XSLT 3 and Iterate
(2)
XSL-FO to PDF preview
(3)
java.lang.RuntimeException: Er...
(2)
Create Acroforms with Stylus X...
(2)
How to change XSLT parameter s...
(3)
how to change format of the da...
(2)
Search "Next 8 Results " doesn...
(2)
Support for Git
(1)
newbee
(8)
[1-20]
[21-40]
[41-60]
Next
XQuery Help and Discussion
(2017)
Stylus Studio FAQs
(159)
Stylus Studio Code Samples & Utilities
(364)
Stylus Studio Announcements
(113)
Topic
next
Subject:
Help with for-each Xpath problem
Author:
Ivan Pedruzzi
Date:
21 Jul 2005 10:07 PM
This kind of problems are easy to spot with Stylus Studio.
Step through the stylesheet and test the expression the watch window.
Take a closer look the following expression; you are not using the parameter value but the string '$now'
<xsl:for-each select="home/noticeitem[attribute::expiry >= '$now']">
Hope this helps
Ivan Pedruzzi
Stylus Studio Team
top
Subject:
Help with for-each Xpath problem
Author:
Ivan Pedruzzi
Date:
22 Jul 2005 02:52 PM
The asp code is wrong, to learn how to use MSXML please see the MSXML documentation
Using XSLT with the DOM from an HTML Page
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/5371ed9a-17d7-4be7-8eb6-5b0e7e630cfc.asp
How to handle XSLT parameters
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/f38dc9b6-b91a-44c8-af91-c28cc272663a.asp
The XSLT code is wrong too; it should be
<xsl:for-each select="home/noticeitem[attribute::expiry >= $now]">
Hope this helps
Ivan Pedruzzi
Stylus Studio Team
Powered by
Stylus Studio
, the world's leading
XML IDE
for
XML
,
XSLT
,
XQuery
,
XML Schema
,
DTD
,
XPath
,
WSDL
,
XHTML
,
SQL/XML
, and
XML Mapping
!
Go to Conference:
Select Conference
Stylus Studio Feature Requests
Stylus Studio Technical Forum
Website Feedback
XSLT Help and Discussion
XQuery Help and Discussion
Stylus Studio FAQs
Stylus Studio Code Samples & Utilities
Stylus Studio Announcements
go
Log In Options
Username:
Password:
Site Map
|
Privacy Policy
|
Terms of Use
|
Trademarks
Stylus Scoop XML Newsletter:
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.