Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 25 of 291
Search took 0.02 seconds.
Search: Posts Made By: mrame
Forum: XSLT July 23rd, 2013, 08:57 AM
Replies: 1
Views: 398
Posted By mrame
Working with XML in different namespaces

Hi,

I have an XML file which has a root element with different namespace like below:

<test xmlns:aaa="http://software.tx.aaa"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
...
Forum: XSLT January 25th, 2012, 03:40 AM
Replies: 11
Views: 1,253
Posted By mrame
Thumbs up Check if the following helps: <xsl:template...

Check if the following helps:

<xsl:template match="form">
<html>
<head>
<TITLE> Add/Remove dynamic controls in HTML table </TITLE>
</head>
<body>
<script type="text/javascript">
...
Forum: XSLT January 13th, 2012, 03:24 AM
Replies: 1
Views: 544
Posted By mrame
Thumbs up Please show a minimal input XML

Please show a minimal input XML
Forum: XSLT December 23rd, 2011, 07:47 AM
Replies: 5
Views: 768
Posted By mrame
Thumbs up I could not understand ur need. Please post a...

I could not understand ur need. Please post a minimal XML and the expected output from that. Show some examples on your requirement.
Forum: XSLT November 9th, 2011, 04:08 AM
Replies: 2
Views: 2,962
Posted By mrame
Thumbs up try the below <xsl:value-of...

try the below

<xsl:value-of select="sum(Col/@ colwidth)"/>
Forum: XSLT November 9th, 2011, 03:39 AM
Replies: 5
Views: 8,675
Posted By mrame
Thumbs up Would the follow help: <xsl:value-of...

Would the follow help:

<xsl:value-of select="tokenize(@char,',')[last()]"/>
Forum: XSLT November 9th, 2011, 02:27 AM
Replies: 5
Views: 8,675
Posted By mrame
Thumbs up If you are sure that there will be only three...

If you are sure that there will be only three values, then you can use the following:

<xsl:value-of select="substring-after(substring-after(@char,','),',')"/>

which will give the value 567.
Forum: XSLT November 8th, 2011, 08:04 AM
Replies: 8
Views: 736
Posted By mrame
Thumbs up If you have tried with Martin's code, you would...

If you have tried with Martin's code, you would have got the expected output. Check please.
Forum: XSLT November 5th, 2011, 08:32 AM
Replies: 5
Views: 898
Posted By mrame
Thumbs up The following code would give you an idea: ...

The following code would give you an idea:

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">

<xsl:output method="html"/>

<xsl:template...
Forum: XSLT November 5th, 2011, 04:13 AM
Replies: 5
Views: 898
Posted By mrame
Thumbs up Its really unclear how your html output should...

Its really unclear how your html output should be. Please post the XSLT code tried with and the output html code you are expecting out of the posted XML.
Forum: XSLT November 3rd, 2011, 08:53 AM
Replies: 8
Views: 736
Posted By mrame
Thumbs up It seems you are tryinng to exclude the element...

It seems you are tryinng to exclude the element 'oh', and its excluded in the output as Martin has mentioned. Please let us know the exact element you want to exclude from the output.
Forum: XSLT October 13th, 2011, 08:20 AM
Replies: 13
Views: 2,314
Posted By mrame
Thumbs up If you have rights to edit the XML then change ...

If you have rights to edit the XML then change

<!DOCTYPE art public "-//ES//DTD full length article DTD version 4.3.1//EN"[]>

to

<!DOCTYPE ART PUBLIC "-//ES//DTD full length article DTD...
Forum: XSLT August 13th, 2011, 07:23 AM
Replies: 3
Views: 606
Posted By mrame
Thumbs up I'm not sure I understood your requirement...

I'm not sure I understood your requirement correctly, but could arrive at the below:

Input XML

<n-grams-sorted analysis="N_GRAM_TOKEN3" range="Total Set">
<n-gram position="1"...
Forum: XSLT August 9th, 2011, 07:50 AM
Replies: 6
Views: 632
Posted By mrame
Thumbs up Try the below: <xsl:stylesheet...

Try the below:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
<xsl:output method="html" indent="yes"/>
<xsl:template match="table">
<table>
...
Forum: XSLT August 9th, 2011, 07:18 AM
Replies: 6
Views: 632
Posted By mrame
Thumbs up Try the below: <xsl:stylesheet...

Try the below:


<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
<xsl:output method="html" indent="yes"/>
<xsl:template match="table">
<table>
...
Forum: XSLT July 25th, 2011, 07:55 AM
Replies: 2
Views: 691
Posted By mrame
thank you Sam.

thank you Sam.
Forum: XSLT July 23rd, 2011, 04:04 AM
Replies: 2
Views: 691
Posted By mrame
Thumbs up Rename PDF/JPG files present in a folder

Hi,

My main scope is to transform XML files. But the scope also includes renaming the PDF/JPG files that are cross-referred in the input XML files. The PDF/JPG files will be present in the same...
Forum: XSLT July 23rd, 2011, 03:31 AM
Replies: 1
Views: 697
Posted By mrame
Thumbs up Try with <xsl:value-of...

Try with <xsl:value-of select="a/*/c/">
Forum: XSLT May 26th, 2011, 10:44 AM
Replies: 8
Views: 930
Posted By mrame
Thumbs up Try the below: <xsl:template match="root"> ...

Try the below:

<xsl:template match="root">
<xsl:apply-templates select="TRCINFO"/>
</xsl:template>

<xsl:template match="TRCINFO">
<xsl:variable name="rcccode_1"...
Forum: XSLT December 27th, 2010, 06:24 AM
Replies: 1
Views: 795
Posted By mrame
Thumbs up Please post the output required from the xml you...

Please post the output required from the xml you have posted.
Forum: XSLT December 9th, 2010, 06:53 AM
Replies: 3
Views: 560
Posted By mrame
Thumbs up Post your input xml, full xslt code and the...

Post your input xml, full xslt code and the output expected from the input xml.
Forum: XSLT December 8th, 2010, 02:07 AM
Replies: 3
Views: 560
Posted By mrame
Thumbs up Try the below: <xsl:template...

Try the below:

<xsl:template match="AREA/SMRACMT_ROWSET/SMRACMT_SET">
<fo:block font-size="8">
<xsl:value-of select="SMRACMT_TEXT"/>
</fo:block>
</xsl:template>
Forum: XSLT October 30th, 2010, 02:04 AM
Replies: 1
Views: 509
Posted By mrame
Thumbs up Try the below: <xsl:variable name="article">...

Try the below:

<xsl:variable name="article">
<xsl:copy-of select="//article"/>
</xsl:variable>

<xsl:template match="root">
<xsl:copy-of select="$article/article[position() &lt; 11/>...
Forum: XSLT September 16th, 2010, 02:23 AM
Replies: 2
Views: 751
Posted By mrame
Thumbs up Try with the below: <xsl:key name="title"...

Try with the below:

<xsl:key name="title" match="//cd" use="title" />
<xsl:template match="catalog">
<xsl:for-each select="cd[count(.|key('title', title)[1]) = 1]">
<xsl:value-of...
Forum: XSLT September 15th, 2010, 01:42 AM
Replies: 2
Views: 1,017
Posted By mrame
Thumbs up Try with the below: <xsl:stylesheet...

Try with the below:

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:oa="http://www.openapplications.org/oagis/9" xmlns:fo="http://www.w3.org/1999/XSL/Format"...
Showing results 1 to 25 of 291

 


All times are GMT -4. The time now is 04:42 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.