Subject: Re: [xsl] Running xsltproc does not produce any output From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 24 Jul 2024 02:56:07 -0000 |
On Tue, 2024-07-23 at 21:47 +0000, ohaya ohaya@xxxxxxxxx wrote: > B > Hi, > > I think I spoke too soon. > > I've been trying to modify the original example below, which uses the > $input variable that gets set from the stringparam on the xsltproc > command line, to populate the before-tab and after-tab vars, to work > with the incoming XML, auditrecord.xml, but I don't quite know how to > populate the vars from just the incoming request?B > > I think that structurally, I need something like: > > <?xml version="1.0"?> > <xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> You could add, <xsl:param name="input" /> here. Then call xsltproc (for example) with input="...." > > B B B B B B B <xsl:copy>B B B B B B B B B B B B B B B B B B B B B B B B B B B <<<<<<<<<<<<<<<< This > is not correct... will need to modify the original <ExtraDetails> Then use instead of xsl:copy, use apply-templates with a mode, but i can't say much more without knowing the modification you need. liam -- Liam Quin,B https://www.delightfulcomputing.com/ Available for XML/Document/Information Architecture/XSLT/ XSL/XQuery/Web/Text Processing/A11Y training, work & consulting. Barefoot Web-slave, antique illustrations: B http://www.fromoldbooks.org
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Running xsltproc does not, ohaya ohaya@xxxxxxxx | Thread | Re: [xsl] Running xsltproc does not, ohaya ohaya@xxxxxxxx |
Re: [xsl] Running xsltproc does not, ohaya ohaya@xxxxxxxx | Date | Re: [xsl] Running xsltproc does not, ohaya ohaya@xxxxxxxx |
Month |