Thanks for the lead.   Think I'll try getting it to work with Saxon first then 
try moving the stylesheets over to ML.

Alan


On 2012-06-25, at 6:42 PM, Justin Makeig wrote:

What is the line number being used for? If it’s just for debugging, for 
example, you could create and import your own stub version of the function. 
(You can define functions in XSLT or import XQuery from XSLT.) You won’t get 
line numbers, but you might be able to use the stylesheet without modification.

Justin

Justin Makeig
Director, Product Management
MarkLogic Corporation
[email protected]<mailto:[email protected]>
Phone: +1 650 655 2387
www.marklogic.com<http://www.marklogic.com/>

On Jun 25, 2012, at 3:11 PM, Danny Sokolsky wrote:

Hi Alan,

I do not thing MarkLogic has a similar function.

I would look at what it is being used for and try to do that another way.

-Danny

From: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf Of Alan Darnell
Sent: Monday, June 25, 2012 2:44 PM
To: General Developer Discussion
Subject: [MarkLogic Dev General] saxon:line-number()

I have some XSLT code that I'm trying to use as a transformation step in 
information studio.  The XSLT code came from the same vendor as the content.  
It uses a function that MarkLogic doesn't recognize

<xsl:value-of select="saxon:line-number()" />


Read a bit on the web and determined that this is a function enabled in Saxon 
by passing it an -l flag on startup.  Is there an equivalent function in 
MarkLogic I can replace this function with?


Thanks in advance,


Alan
_______________________________________________
General mailing list
[email protected]<mailto:[email protected]>
http://community.marklogic.com/mailman/listinfo/general

<ATT00001.c>

_______________________________________________
General mailing list
[email protected]
http://community.marklogic.com/mailman/listinfo/general

Reply via email to