This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 28226 - [FO31] fn:transform example refers to option 'stylesheet-uri' rather than 'stylesheet-location'
Summary: [FO31] fn:transform example refers to option 'stylesheet-uri' rather than 'st...
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 3.1 (show other bugs)
Version: Working drafts
Hardware: PC Windows NT
: P2 minor
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-16 10:42 UTC by Debbie Lockett
Modified: 2016-12-16 19:55 UTC (History)
1 user (show)

See Also:


Attachments

Description Debbie Lockett 2015-03-16 10:42:45 UTC
The example in section 16.3.2 is:
let $result := fn:transform(
  map {
    "stylesheet-uri" : "render.xsl",
    "source-node"    : fn:doc('test.xml')
  })
return $result?output//body

It seems that at some point the option to supply the stylesheet URI was renamed 'stylesheet-location' (see the table of option definitions), but this example has not been updated.
Comment 1 Michael Kay 2015-03-25 12:20:25 UTC
Thanks, the example has been fixed.