Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 1 to 25 of 56
Search took 0.01 seconds.
Search: Posts Made By: eruditionist
Forum: XSLT July 22nd, 2011, 01:32 PM
Replies: 1
Views: 734
Posted By eruditionist
How to skip a child node

Here is an example. I have 2 xmls that are similar in nature so I want to use 1 xsl instead of 2. Here is the first XML
<root>
<a>
<b>
<c>
<d>Real Val 1</d>
</c>
<c>
...
Forum: XSLT June 29th, 2011, 03:00 PM
Replies: 7
Views: 1,277
Posted By eruditionist
You guys are awesome. Thanks. It worked

You guys are awesome. Thanks. It worked
Forum: XSLT June 29th, 2011, 01:13 PM
Replies: 7
Views: 1,277
Posted By eruditionist
given the following xml is there a way to find if...

given the following xml is there a way to find if the current node is a parent or grandparent node for instance if I looped through the first set of nodes.

<xsl:for-each...
Forum: XSLT June 29th, 2011, 10:19 AM
Replies: 7
Views: 1,277
Posted By eruditionist
This works but how do I exclude <level4>? ...

This works but how do I exclude <level4>?

<?xml version='1.0' ?>
<level1>B1</level1><level2>B1 Level two </level2><level3>B1 Level three X</level3><level4>B1 Level Four</level4>

It...
Forum: XSLT June 28th, 2011, 06:37 PM
Replies: 7
Views: 1,277
Posted By eruditionist
how to get siblings and parents

I know how to go from top down in a nested xsl using xsl:for-each but need to know how to traverse back up for instance here is my XML

<?xml version="1.0" encoding="UTF-8"?>
<root>
...
Forum: XSLT June 20th, 2011, 12:49 PM
Replies: 3
Views: 707
Posted By eruditionist
Actually I wanted to use it for special...

Actually I wanted to use it for special characters. for example ( é ) etc.
Forum: XSLT June 20th, 2011, 11:15 AM
Replies: 3
Views: 707
Posted By eruditionist
disable-output-escaping on {ImgSrc}

Hi I have this xslt line of code and my question is how do I apply disable-output-escaping on it

<img src="{ImgSrc}" title="{ImgTitle}"/>

instead of doing <xsl:value-of select="ImgTitle"...
Forum: Pro JSP June 8th, 2011, 11:38 AM
Replies: 0
Views: 2,096
Posted By eruditionist
how to read a folder outside the context

My current application setup is this

/usr/AppServer/CDev/Sections.ear/sectionSite/all-listings

I would like to read a folder thats in another location on the same box.

...
Forum: XSLT March 8th, 2011, 05:57 PM
Replies: 5
Views: 580
Posted By eruditionist
manipulation of text in date format

How do I remove and re-arrange data DD-MM-YYYY to YYYYMMDD for example given 03-09-2011 how do I manipulate it to 20110903
Forum: XSLT October 4th, 2010, 10:54 AM
Replies: 1
Views: 673
Posted By eruditionist
Display all nodes of an XML

<?xml version="1.0" encoding="UTF-8"?>
<root>
<node category="A" name="levelOne" title="Home" link="/index.jsp">
<node category="B" name="levelTwo" title="Residential"...
Forum: XSLT September 24th, 2010, 04:09 PM
Replies: 2
Views: 609
Posted By eruditionist
Thanks that worked :)

Thanks that worked :)
Forum: XSLT September 24th, 2010, 10:15 AM
Replies: 2
Views: 609
Posted By eruditionist
How to print parent's parent node when 3rd or 4th level @ provided?

<?xml version="1.0" encoding="UTF-8"?>
<root>
<first name="level1" title="Small Business" alt="Small Business" link="/small-business.jsp">
<second name="level2" title="Products and Services"...
Forum: XSLT September 22nd, 2010, 12:32 PM
Replies: 3
Views: 1,186
Posted By eruditionist
The above code only prints Enterprise instead of ...

The above code only prints Enterprise instead of

Enterprise - Solutions - Healthcare - Facility.
Forum: XSLT September 22nd, 2010, 11:54 AM
Replies: 3
Views: 1,186
Posted By eruditionist
issue traversing from 3 level down to 3 level up in xml

Here is the xml I am using

<?xml version="1.0" encoding="UTF-8"?>
<root>
<first name="level1" title="Small Business" alt="Small Business" link="/small-business.jsp">
<second...
Forum: BOOK: Beginning Regular Expressions April 13th, 2009, 04:39 PM
Replies: 0
Views: 3,768
Posted By eruditionist
not sure how to replace & and &nbsp for xml

I have a paragraph that needs to be converted into xml paragraph includes spaces (&nbsp;) and simple ampersand (&) and ofcourse <br> tags. Here is my regex

$str =~ s/br\>/br\/\>/g;
...
Forum: XSLT February 25th, 2009, 11:19 AM
Replies: 1
Views: 623
Posted By eruditionist
how to contro current() when printing values

I am trying to print values based on the first and last position. For example here is my XML

<?xml version="1.0"?>
<ss>
<id>
<picture>image.jpg</picture>
<text>sample text </text>
</id>...
Forum: XSLT February 11th, 2009, 07:42 PM
Replies: 5
Views: 1,310
Posted By eruditionist
Thanks that worked

Thanks that worked
Forum: XSLT February 11th, 2009, 06:46 PM
Replies: 5
Views: 1,310
Posted By eruditionist
How to get the value of first 3 nested nodes using xsl:for-each

This is my XML

<?xml version="1.0"?>
<detail>
<title>
<link>a</link></title>
<title>
<link>b</link></title>
<title>
<link>c</link></title>
Forum: XSLT February 11th, 2009, 12:02 PM
Replies: 4
Views: 710
Posted By eruditionist
the forum wont allow me to upload the full...

the forum wont allow me to upload the full stylesheet it cuts off after doctype. You were right I was using incorrect namesapce
Forum: XSLT February 11th, 2009, 11:52 AM
Replies: 4
Views: 710
Posted By eruditionist
namespace is correct. No idea why its failing...

namespace is correct. No idea why its failing basically just displays a blank page on output. This is what I have above template tag

<xsl:stylesheet version="2.0"...
Forum: XSLT February 11th, 2009, 11:37 AM
Replies: 4
Views: 710
Posted By eruditionist
not able to print child node value using value-of select

this is my XSL
<?xml version="1.0"?>
<abc:news xmlns:abc="http://abc.com/" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms"...
Forum: XSLT February 10th, 2009, 05:08 PM
Replies: 2
Views: 5,372
Posted By eruditionist
Awesome that worked. U are great mhkay.

Awesome that worked. U are great mhkay.
Forum: XSLT February 10th, 2009, 04:08 PM
Replies: 2
Views: 5,372
Posted By eruditionist
how to read xml files doing select="document()" ?

Here is my sample xml

<?xml version="1.0"?>
<abc:testNews xmlns:rcdc="http://abc.com" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms"...
Forum: XML February 5th, 2009, 11:51 AM
Replies: 3
Views: 4,217
Posted By eruditionist
I am gettin an exception Here is my XSD

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ha="http://www.ha.com/ha" xmlns:alf="http://www.alfresco.org" targetNamespace="http://www.ha.com/ha" elementFormDefault="qualified">
...
Forum: XML February 5th, 2009, 10:56 AM
Replies: 3
Views: 4,217
Posted By eruditionist
XSD question how to add drop down

I need to know how I can add a drop down in my XSD? for example I want to add a drop down list with this option. A, B, C, D, E how do I add that in XSD?
Showing results 1 to 25 of 56

 




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