Search found 11 matches

by undrmoons
Mon Jul 09, 2012 9:33 pm
Forum: XSLT and FOP
Topic: Lookup elements and sort
Replies: 0
Views: 2638

Lookup elements and sort

I'm having trouble finding the best way to go about solving for the following. I have an XML file which contains all of it's item level data in one location within an XML file. Everywhere else in the file, only a reference id is used. Each time the <id> tag is used I need to perform a look up in the...
by undrmoons
Mon Jun 08, 2009 4:43 pm
Forum: XSLT and FOP
Topic: Help merging and reordering table data
Replies: 0
Views: 2844

Help merging and reordering table data

I have data coming form a database which contains bulleted information along with table data. I need to merge the first row of data with the bullets and other strings in a praticular order and am having trouble getting the desired result... Sample XML and the desired out put are below, along with XS...
by undrmoons
Thu Mar 26, 2009 10:09 pm
Forum: XSLT and FOP
Topic: Element reordering help....
Replies: 6
Views: 4501

Re: Element reordering help....

John this is awesome! Thank you so much for the assistance!
by undrmoons
Mon Mar 23, 2009 11:35 pm
Forum: XSLT and FOP
Topic: Element reordering help....
Replies: 6
Views: 4501

Re: Element reordering help....

Hi John, I've pasted details below: Initial XML File:  <?xml version="1.0" encoding="UTF-8" standalone="yes"?><Story><!-- data[username:"menl",blockid:17469,pageid:4240,docid:799,docstatus:"Ready to be Built",chart_row_count:4,chart_col_count:5] --><...
by undrmoons
Thu Mar 19, 2009 5:14 pm
Forum: XSLT and FOP
Topic: Element reordering help....
Replies: 6
Views: 4501

Re: Element reordering help....

Hi John, I think if I use a template match for "story", I cannot use another template match for "ProductName", keeping all of it's child nodes and attributes, correct? I probably failed to really stress that the important element I am looking to reorder is the "Product_Name&...
by undrmoons
Wed Mar 18, 2009 10:56 pm
Forum: XSLT and FOP
Topic: Element reordering help....
Replies: 6
Views: 4501

Element reordering help....

I am having an issue with trying to reorder 3 elements for my output. One of these elements has 2 child nodes which have attributes I need to maintain (Product_Image & Logo_image_1), which is why I chose to use "copy-of". Here is a sample of the XSL I am currently using: <xsl:template ...
by undrmoons
Wed Jan 10, 2007 5:37 pm
Forum: XSLT and FOP
Topic: XSLT to format XML for Filemaker or mySQL Import
Replies: 1
Views: 4260

XSLT to format XML for Filemaker or mySQL Import

I have a library of XML files which I'd ideally like to put into a database. These XML files contain data about various different products with different specs, details, etc. As a result XML files may contain several variables. The constants, are <Product_Group>, <Product_Name> and <Table>. Only one...
by undrmoons
Thu Mar 23, 2006 4:36 pm
Forum: XSLT and FOP
Topic: Price an XML file
Replies: 5
Views: 6548

Thanks Radu! That's a big help, and works great with the example I gave you. Here's a situation I encountered though — on the rare case I'll have several SKU's but only one Price. Which breaks up the XML a bit. It sometimes looks like this: ------------------------------------------ <Table> <row> ...
by undrmoons
Wed Mar 22, 2006 11:23 pm
Forum: XSLT and FOP
Topic: Price an XML file
Replies: 5
Views: 6548

Price an XML file

I have an XML file containing product information. I have another XML file containing pricing for specific products. Both XML files contain SKU information as a point of reference. I'm trying to figure out how to go about creating this "look up" and replace the "00.00" price amou...
by undrmoons
Wed Jan 18, 2006 5:23 pm
Forum: XSLT and FOP
Topic: Pairing two elements within the same parent.... in sequence?
Replies: 1
Views: 4482

Pairing two elements within the same parent.... in sequence?

Im having trouble trying to pair up 2 different elements in sequence within the same parent element. The number of <Serial_No> and <Price> elements is always consistent within each <onepage> tag (2 <Serial_No> tags means there are 2 <Price> tags, and so on). However, the total number of those paired...
by undrmoons
Sat Jan 14, 2006 7:19 pm
Forum: XSLT and FOP
Topic: Grouping problem...
Replies: 1
Views: 4348

Grouping problem...

The data I'm working with is coming from an unstructured table source - there is nothing to indicate that a row has ended, other than the sequence of elements. When the <Price> element is followed by any other element other than itself, (like SKU in this example) I'd like to make thta my indicator o...