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 27
Search took 0.01 seconds.
Search: Posts Made By: metinhoclam
Forum: XSLT September 17th, 2010, 07:22 PM
Replies: 7
Views: 902
Posted By metinhoclam
no, body?!!

why not? anybody help me?
Forum: XSLT September 10th, 2010, 01:30 AM
Replies: 7
Views: 902
Posted By metinhoclam
so, nobody help me...?!!

I think this is the hard exercise, and also complicated.
Forum: XSLT September 8th, 2010, 05:39 AM
Replies: 7
Views: 902
Posted By metinhoclam
@sam

But the structure in the dictionary is different with the source file. How can I put the child elements in right its parent?.
For examples: the hierarchical structure of class in dictionary.xml...
Forum: XSLT September 7th, 2010, 05:57 PM
Replies: 7
Views: 902
Posted By metinhoclam
I have tried

I imagine about <xsl:variable name="dictionary" select="document('dictionary.xml')"/>

But I cannot implement how to connect $ID variable in dictionary file and how to put the elements inside its...
Forum: XSLT September 6th, 2010, 06:18 PM
Replies: 7
Views: 902
Posted By metinhoclam
transform target file from 2 source files

I have the source file like this:

<?xml version="1.0" encoding="UTF-8"?>
<container id="111A" name="DEFAULT HARDDISK">
<list_of_folder id="listofcontainer_111A">
<folder id="222A">...
Forum: XSLT August 29th, 2010, 05:11 PM
Replies: 3
Views: 690
Posted By metinhoclam
I'm using Xpath 2.0

I don't know how to deal with tokenize. BUt for my solution, I try like this and it's unsuccess with $y2. Could you modify something in my case.

<template name="aaa">
<xsl:variable name="x1"...
Forum: XSLT August 29th, 2010, 09:40 AM
Replies: 3
Views: 690
Posted By metinhoclam
get the point location in axis

when i draw the path in SVG, the axis(x,y) will be created automatically behind XML code.
For example: when i draw the line that connects between A and B the code will be:

<path drawme="no"...
Forum: XSLT August 28th, 2010, 04:12 AM
Replies: 2
Views: 13,893
Posted By metinhoclam
you are right. It works. Thanks,

Yes. I forget the ( character
Forum: XSLT August 28th, 2010, 03:25 AM
Replies: 2
Views: 13,893
Posted By metinhoclam
Convert from string to number

I have the source
<g transform="translate(0 0) scale(0.4)" >

My expression like this:
<xsl:variable name="s" select="number(substring-before(substring-after(@transform,'scale'),')'))"/>

I...
Forum: XSLT August 17th, 2010, 10:10 AM
Replies: 5
Views: 641
Posted By metinhoclam
My transformation file...but it doesn't work... could you show me where is the prob?

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema"...
Forum: XSLT August 17th, 2010, 01:34 AM
Replies: 5
Views: 641
Posted By metinhoclam
There are a lot of rule

Three main rules for this transform but I cannot imagine the way to transform:
1. All element that has 'destination id' inside city will become the element childs inside that "CITY" class.

2. The...
Forum: XSLT August 16th, 2010, 07:40 PM
Replies: 5
Views: 641
Posted By metinhoclam
Tranform to expect xml file

My source document:

<?xml version="1.0" encoding="UTF-8" ?>
<tourcompany id="CMP001" name= "pacific cmp">
<country id="FRA" name="France">
<citylist id="list001" name="CityofFRA">
<city...
Forum: XSLT August 14th, 2010, 09:59 AM
Replies: 5
Views: 724
Posted By metinhoclam
altova spy

Dear Mr.mhkay
I'm using altova spy and I declare with xslt version 2.0
Forum: XSLT August 14th, 2010, 09:49 AM
Replies: 5
Views: 724
Posted By metinhoclam
Check function

Dear Mr.mhkay

Is there any fuction to check whether element contain another element. In case of the <box> is not only as unique element inside <listbox>.
I've made the parent template with:...
Forum: XSLT August 14th, 2010, 06:14 AM
Replies: 5
Views: 724
Posted By metinhoclam
How to check whether an elements contains another elements or not?

I have the source xml document:

<?xml version="1.0" encoding="UTF-8"?>
<listbox>
<box id="a1" size="24">
<numberofball>3</numberofball>
</box>
<box id="a2" size="64">...
Forum: XSLT August 13th, 2010, 06:01 AM
Replies: 3
Views: 785
Posted By metinhoclam
redundant text in output xml

I have problem with my transformation file.
For the target file, after success in putting the text inside the tag. It appears the redundancy text after tags for text output. For example:

<person...
Forum: XSLT August 13th, 2010, 05:52 AM
Replies: 4
Views: 1,396
Posted By metinhoclam
It works!

@mr.mhkay: it works...thanks you.
Forum: XSLT August 12th, 2010, 06:47 PM
Replies: 4
Views: 1,396
Posted By metinhoclam
check conditional expression

@mhkay's : It looks better with your modifying. But with that template, we can export all path. I means just export the information which have target not in public place.
<board id="AC659FDE"...
Forum: XSLT August 12th, 2010, 06:14 PM
Replies: 4
Views: 1,396
Posted By metinhoclam
Check the conditional expression inside the templace

I have the XML source document:

<?xml version="1.0" encoding="UTF-8"?>
<HELPDESK>
<board group="PATHS" >
<board id="AC659FDE" group="PATH" source="C21D8443" target="09CF5CC8"/>
<board...
Forum: XSLT July 31st, 2010, 12:47 PM
Replies: 2
Views: 1,006
Posted By metinhoclam
Don't understand how XSLT works

I have the source document:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Edited by XMLSpy® -->
<catalog>
<cd>
<title>Empire Burlesque</title>
<artist>Bob Dylan</artist>...
Forum: XSLT July 30th, 2010, 04:54 AM
Replies: 8
Views: 900
Posted By metinhoclam
Thanks Mr.mhkay. I am a newbie...and I always get confusing with 'match'

I misunderstood about the xsl:apply-templates and select...I thought if select like that, then it just returns one value...
Thank,
Forum: XSLT July 29th, 2010, 05:11 PM
Replies: 8
Views: 900
Posted By metinhoclam
problem with output

I have change the source file:
<?xml version="1.0" encoding="UTF-8"?>
<RootNode>
<Name>
BOB
<ContactDetails>
<Address>
<Line1>1 High Street</Line1>
...
Forum: XSLT July 29th, 2010, 10:59 AM
Replies: 8
Views: 900
Posted By metinhoclam
I still get confusing...

I knew the Name is the same level with ContactDetails, AltContactDetails. And I've already checked these documents a lot of time...I didnot see any errors....please give me your solution for my...
Forum: XSLT July 29th, 2010, 10:33 AM
Replies: 8
Views: 900
Posted By metinhoclam
Don't understand which errors

My source document:

<?xml version="1.0" encoding="UTF-8"?>
<RootNode>
<Name>Bob</Name>
<ContactDetails>
<Address>
<Line1>1 High Street</Line1>
...
Forum: XSLT July 28th, 2010, 01:01 PM
Replies: 2
Views: 760
Posted By metinhoclam
The process has the same name with the pool....

The process has the same name with the pool. Inside the pool is a lot of lanes. For each lane, there are some activities/notations such as: startevent, endevent, gateway, and the other notation of...
Showing results 1 to 25 of 27

 


All times are GMT -4. The time now is 06:08 PM.


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