Search found 4 matches

by ravi
Fri Sep 21, 2007 12:48 pm
Forum: XSLT and FOP
Topic: XSLT help
Replies: 3
Views: 3335

If you're using XSLT 2.0, this can easily be done with the tokenize function. Otherwise you'll have to use functions substring-before() and substring-after() eg: <empname><xsl:value-of select="substring-before(payload,',')"/></empname> <empid><xsl:value-of select="substring-before(su...
by ravi
Fri Sep 21, 2007 12:35 pm
Forum: General XML Questions
Topic: Converting Pipe-Delimited txt to XML
Replies: 5
Views: 17810

Cursed no edit forum. <xsl:variable name="var" select="tokenize('payload', ',')"/> am totally new to XSL, if you could provide me the XSL it's great, and also please remeber i need the each coloum in seperate tag like if the input record is like this : ajay,111,india,1000 then a...
by ravi
Thu Sep 20, 2007 1:51 pm
Forum: XSLT and FOP
Topic: XSLT help
Replies: 3
Views: 3335

XSLT help

Hi, am new to XSLT, i have the MQ message that message am able to read from queue, that message in the below format <payload>aaa,111,ap,india</payload> i need a help to convert this MQ message into the XML message using the XSLT means expected output should be like this <?xml version="1.0"...
by ravi
Thu Sep 20, 2007 1:42 pm
Forum: General XML Questions
Topic: Converting Pipe-Delimited txt to XML
Replies: 5
Views: 17810

Hi Radhu, am new to this site and as well as am new to the XSLT, i need a help regarding converting CSV file to XML file here am getting the CSV file from the MQ Queue, the message looks like this <payload>abc,111,india</payload> i would like to conver this MQ message into the XML message using the ...