Search found 365 matches
Re: XSLT help
Ok, so the XSLT works fine for one product, but if the xml file contains more than one product I get the same result repeated for every product. I added an <xsl:for-each> loop, but it seems to pick up the first product every time. How can I get one <job> for each product? Incoming xml: <?xml version...
Re: XSLT help
Yeah.
I have both the XML for Dummies and the XSLT for Dummies here at work. Perhaps I should bring them and do some reading on the train to Stockholm tonight.
I have both the XML for Dummies and the XSLT for Dummies here at work. Perhaps I should bring them and do some reading on the train to Stockholm tonight.

Re: XSLT help
job-name in your case is an attribute to the node "job", not a text node directly under. The other values are text nodes directly under "job". That's why you need the @-character. It means "attribute" in xslt. Thanks for the information. It's kinda hard to understand w...
Re: XSLT help
Have you had a chance to find out if the path to the nod you are referring to, resolved with a correct value in Switch ?? Navigate in Switch to "//order/jobs/job/job-name" of that XML and see if it is correct. If other paths to certain nodes are getting you the right result and they all a...
Re: XSLT help
Thanks Jan.
That did the trick.
Can you explain why I need to use @job-name for this node when everything else works without the @-character?
That did the trick.
Can you explain why I need to use @job-name for this node when everything else works without the @-character?
Re: XSLT help
Thanks Jan.
That did the trick.
Can you explain why I need to use @job-name for this node when everything else works without the @-character?
That did the trick.
Can you explain why I need to use @job-name for this node when everything else works without the @-character?
XSLT help
I need to split an incoming xml-file into one xml-file per product in the order. I have created an XSLT that will pick up all information except for the job-name. Any ideas what might be wrong with my XSLT? Incoming xml file <?xml version="1.0" encoding="utf-8"?> <order version=&...
- Tue Nov 05, 2019 3:24 pm
- Forum: Flows
- Topic: Release a certain number of files at the time at a specific interval
- Replies: 7
- Views: 12005
Re: Release a certain number of files at the time at a specific interval
Thanks Jimmy!
Excellent suggestion. I'll look into it!
Excellent suggestion. I'll look into it!
- Mon Nov 04, 2019 5:20 pm
- Forum: Flows
- Topic: Release a certain number of files at the time at a specific interval
- Replies: 7
- Views: 12005
Re: Release a certain number of files at the time at a specific interval
Thanks for the info Freddy. I will look into the Hold job groups and see if that is an option. Anywho, here are two screenshot of the two flows I have. The first flow converts the csv file to xml files and then injects a dummy pdf, in order for my to pick up the xml information. I then rename the jo...
- Sun Nov 03, 2019 6:25 pm
- Forum: Flows
- Topic: Release a certain number of files at the time at a specific interval
- Replies: 7
- Views: 12005
Re: Release a certain number of files at the time at a specific interval
Hi Malcolm. Yeah, I have that setup in a different flow, but as the ordered amount for each products is different, I would then have to make as many copies of the page for each product before assembling the pdf and then splitting it, which means I could end up with about 1000 pages 700x1000 mm in th...
- Sat Nov 02, 2019 5:34 pm
- Forum: Flows
- Topic: Release a certain number of files at the time at a specific interval
- Replies: 7
- Views: 12005
Release a certain number of files at the time at a specific interval
I have a flow where a csv file dropped in a hotfolder will be converted to xml files with CSV2XML and these will then be used to inject a pdf from a file repository in to the flow. The pdf will be color matched and then imposed by Tilia Phoenix. However, as the csv file may contain more than 50 prod...
- Mon Oct 14, 2019 7:30 am
- Forum: Switch
- Topic: EXIF Tools and spaces
- Replies: 8
- Views: 12714
Re: EXIF Tools and spaces
I googled EXIFTool and found a page with Command-Line Examples and it shows this: exiftool -artist="Phil Harvey" Have you tried the double quotes? Also -Creator=[Metadata.Text:Path="//field[tag='Name of the metadata field']/value",Dataset="Submit",Model="XML"]...
- Fri Oct 11, 2019 3:17 pm
- Forum: LEGACY scripting
- Topic: Using JS To Add Email Addresses
- Replies: 6
- Views: 19921
Re: Using JS To Add Email Addresses
For added readability and flexibility you could replace "/field-list/field[6]/value" with "//field[tag='Manager']/value" or whatever the field tag is that you want to use. It's much easier to understand what //field[tag='Gramvikt']/value is than what /field-list/field[2]/field-li...
- Fri Oct 11, 2019 10:51 am
- Forum: Flows
- Topic: Send files one at a time from a folder
- Replies: 2
- Views: 5059
Re: Send files one at a time from a folder
Thanks Zoran!
Much appreciated.
Much appreciated.
- Thu Oct 10, 2019 7:49 pm
- Forum: Flows
- Topic: Send files one at a time from a folder
- Replies: 2
- Views: 5059
Send files one at a time from a folder
Is it possible to get the Hold job configurator or any other configurator to send one file every n seconds? The Delay function will hold the files for a certain time and then send them to the next folder/configurator, but that can mean that five or more files are sent thru at the same time. If possi...