Search found 62 matches
- by winkimjr2
- Fri Feb 06, 2015 6:58 pm
- Forum: XSLT and FOP
- Topic: How do I find ChargeID for the Plea using InternalOffenseHis
- Replies: 2
- Views: 2835
Re: How do I find ChargeID for the Plea using InternalOffens
What I am trying to do is get the ChargeID=10485838 . To get this ChargeID, I need to look in the ChargeHistory element for the Stage="Plea Event" and find the PleaEventSequence value with the highest event number (for example PleaEventSequence="2") and then find the Plea in the...
- by winkimjr2
- Thu Feb 05, 2015 10:06 pm
- Forum: XSLT and FOP
- Topic: How do I find ChargeID for the Plea using InternalOffenseHis
- Replies: 2
- Views: 2835
How do I find ChargeID for the Plea using InternalOffenseHis
What I am trying to do is to use InternalOffenseHistoryID to find and display Plea's ChargeID . I need to find the PleaEventSequence with the highest number (example 2) in ChargeHistory and then find the Plea's InternalOffenseHistoryID that matches that ChargeHistory's InternalOffenseHistoryID . How...
- by winkimjr2
- Mon Jan 05, 2015 9:32 pm
- Forum: XSLT and FOP
- Topic: How do I add false to a empty string?
- Replies: 1
- Views: 2180
Re: How do I add false to a empty string?
I fixed this by doing this: <xsl:attribute name="ext:currentIndicator"> <xsl:choose> <xsl:when test="@PartyCurrent = 'true'">true</xsl:when> <xsl:otherwise>false</xsl:otherwise> </xsl:choose> </xsl:attribute>
- by winkimjr2
- Fri Jan 02, 2015 7:19 pm
- Forum: XSLT and FOP
- Topic: How do I add false to a empty string?
- Replies: 1
- Views: 2180
How do I add false to a empty string?
I would like to display the word false instead of an empty string "" for the <ext:AddressReference ext:currentIndicator=""> . How do I do this? My output which is wrong <ext:AddressReference ext:currentIndicator="true"> <nc:LocationReference s:ref="INT10566286"...
- by winkimjr2
- Wed Dec 31, 2014 5:00 pm
- Forum: XSLT and FOP
- Topic: How do I display PersonEthnicityCode for the Respondent
- Replies: 2
- Views: 2827
Re: How do I display PersonEthnicityCode for the Respondent
I did not know about that mailing list. I will post my question there. Thank you.sorin wrote:Hello,
There are many XSLT experts available on this mailing list who can help you with that. Did you try posting the example code there?
- by winkimjr2
- Wed Dec 31, 2014 12:13 am
- Forum: XSLT and FOP
- Topic: How do I display PersonEthnicityCode for the Respondent
- Replies: 2
- Views: 2827
How do I display PersonEthnicityCode for the Respondent
I have xml code with several CaseParties. I want to only display the ObservedEthnicity for the respondent. My xslt is displaying the ObservedEthnicity but for the first found CaseParty. How do I change it to display the correct ObservedEthnicity for the respondent? Here is my xml code <Integration x...
- by winkimjr2
- Tue Dec 30, 2014 9:47 pm
- Forum: XSLT and FOP
- Topic: How do I display PersonEthnicityCode
- Replies: 1
- Views: 2237
How do I display PersonEthnicityCode
In my xml I have an element <ObservedEthnicity Word="R">Refused</ObservedEthnicity> but I do not want it displayed in the output. What do I need to change in my xslt so that this is skipped? Right now it is being displayed in the output as this: <ext:Respondent> <nc:PersonEthnicityCode>R</...
- by winkimjr2
- Tue Dec 30, 2014 9:46 pm
- Forum: XSLT and FOP
- Topic: How do I display PersonEthnicityCode
- Replies: 1
- Views: 2210
How do I display PersonEthnicityCode
In my xml I have an element <ObservedEthnicity Word="R">Refused</ObservedEthnicity> but I do not want it displayed in the output. What do I need to change in my xslt so that this is skipped? Right now it is being displayed in the output as this: <ext:Respondent> <nc:PersonEthnicityCode>R</...
- by winkimjr2
- Tue Dec 30, 2014 8:54 pm
- Forum: XSLT and FOP
- Topic: How do I remove a semi colon when I have only one party in x
- Replies: 2
- Views: 2469
Re: How do I remove a semi colon when I have only one party
I used the code example you gave me to place the semi colon after the first name if there is more than one name and this solved that problem.
As for the address and name, I will confirm what format is needed. As for now, I will just leave it the way it is.
Thanks for your help Adrian.
As for the address and name, I will confirm what format is needed. As for now, I will just leave it the way it is.
Thanks for your help Adrian.
- by winkimjr2
- Tue Dec 30, 2014 1:28 am
- Forum: XSLT and FOP
- Topic: How do I remove a semi colon when I have only one party in x
- Replies: 2
- Views: 2469
How do I remove a semi colon when I have only one party in x
I would like to display a name followed by address and a semi colon and another name followed by address when xml document has 2 parties in the conditions element. My output is displaying the names with a semi colon and then the address. I would like to display a name followed by its associated addr...
- by winkimjr2
- Fri Dec 19, 2014 5:19 pm
- Forum: XSLT and FOP
- Topic: How do I display HeightFeet element?
- Replies: 2
- Views: 2171
Re: How do I display HeightFeet element?
Based on my xml code, I want to convert the HeightFeet number into inches. I also want to check that the HeightFeet is not less than 48 inches and not greater than 95 inches. How do I do this? Can someone help me? My xml code <Party ID="1116666" InternalPartyID="1610656384"> <Ge...
- by winkimjr2
- Thu Dec 18, 2014 6:32 pm
- Forum: XSLT and FOP
- Topic: How do I display HeightFeet element?
- Replies: 2
- Views: 2171
How do I display HeightFeet element?
Based on my xml code, I want to convert the HeightFeet number into inches. I also want to check that the HeightFeet is not less than 48 inches and not greater than 95 inches. How do I do this? Can someone help me? My xml code <Party ID="1116666" InternalPartyID="1610656384"> <Gen...
- by winkimjr2
- Fri Nov 14, 2014 5:37 pm
- Forum: XSLT and FOP
- Topic: How do I display all the date of birth from a node?
- Replies: 1
- Views: 1938
Re: How do I display all the date of birth from a node?
I was able to resolve this one.
- by winkimjr2
- Thu Nov 13, 2014 8:57 pm
- Forum: XSLT and FOP
- Topic: How do I display all the date of birth from a node?
- Replies: 1
- Views: 1938
How do I display all the date of birth from a node?
How do I change my xslt code so that the 3 date of birth I have in my xml document are show in the output like this: I want my output to look like this <ext:PersonBirthDate ext:approximateDateIndicator="false" ext:currentIndicator="true">1956-05-21</ext:PersonBirthDate> <ext:Pers...
- by winkimjr2
- Wed Nov 05, 2014 5:29 pm
- Forum: General XML Questions
- Topic: How do I add an element output to a email from xml doc?
- Replies: 1
- Views: 2247
Re: How do I add an element output to a email from xml doc?
I decided to use vb to do this instead
- by winkimjr2
- Tue Nov 04, 2014 7:57 pm
- Forum: General XML Questions
- Topic: How do I add an element output to a email from xml doc?
- Replies: 1
- Views: 2247
How do I add an element output to a email from xml doc?
I have a xml document and I want to add ServedBy to an email document. How do I do this? My xml code <ServiceInfo> <ServedBy Word="AMRTC">Metro Regional Treatment Center</ServedBy> <DateServed>10/30/2014</DateServed> <HowServed Word="SHORTFORM">Short Form</HowServed> </ServiceInf...
- by winkimjr2
- Wed Oct 22, 2014 4:30 pm
- Forum: General XML Questions
- Topic: How do I display address in one line?
- Replies: 0
- Views: 4180
How do I display address in one line?
I have XML address and want the result to be one line this: 123 E Rubble ALY E, Bedrock, DC, 65401 How do I do it in XSLT? XML Address Elements <Address InternalAddressID="1618207867" Type="Standard"> <Location Word="HOME">Home</Location> <AddressLine2>123 E Rubble ALY ...
- by winkimjr2
- Tue Oct 21, 2014 7:30 pm
- Forum: XSLT and FOP
- Topic: How do I display 2 element nodes structure?
- Replies: 1
- Views: 1595
Re: How do I display 2 element nodes structure?
[quote="winkimjr2"]Changing this one
- by winkimjr2
- Fri Oct 17, 2014 8:03 pm
- Forum: XSLT and FOP
- Topic: How do I display 2 element nodes structure?
- Replies: 1
- Views: 1595
How do I display 2 element nodes structure?
I would like to use XSLT to display Conditions and Findings. I would like to check For each Finding or Condition node to determine if there is one or more related parties for the finding or condition being processed. If there are parties related to the finding or condition, a <Parties> structure wil...
- by winkimjr2
- Thu Oct 09, 2014 4:24 pm
- Forum: XSLT and FOP
- Topic: How do I override a xml value in xslt?
- Replies: 1
- Views: 7162
How do I override a xml value in xslt?
In short whenever my xml element has the following DC19DAKHN or DC19D0000 , in xslt output I want to override that value with MN019015J . How do I do this in XSLT? My XML Code <ValueID> <MyID>[B]DC19DAKHN[/B]</MyID> </ValueID> My xslt output is <myID>[B]DC19D0000[/B]</myID> I want this to look like ...
- by winkimjr2
- Thu Oct 09, 2014 4:05 pm
- Forum: XSLT and FOP
- Topic: How do I NOT display time if not present in xml
- Replies: 1
- Views: 1587
Re: How do I NOT display time if not present in xml
winkimjr2 wrote:Resolved
- by winkimjr2
- Wed Oct 08, 2014 6:21 pm
- Forum: XSLT and FOP
- Topic: How do I NOT display time if not present in xml
- Replies: 1
- Views: 1587
How do I NOT display time if not present in xml
I have xml code with 2 elements one for timeServed and the other for dateServed. When timeServed element is empty, my xslt is showing <ServiceTime> 00:00:00-05:00 </ServiceTime>. I want this <ServiceTime></ServiceTime> displayed instead. I think I can add an If statement to the xslt code to check if...
- by winkimjr2
- Wed Aug 20, 2014 5:29 pm
- Forum: XSLT and FOP
- Topic: How do I check if weight is less than 50 pounds or greater t
- Replies: 2
- Views: 3676
Re: How do I check if weight is less than 50 pounds or great
Code for weight <xsl:if test="WeightPounds"> <nc:PersonWeightMeasure> <nc:MeasureText> <xsl:choose> <xsl:when test="WeightPounds"> <xsl:value-of select="WeightPounds"/> </xsl:when> /xsl:choose> </nc:MeasureText> <nc:MeasureUnitText> <xsl:text>pounds</xsl:text> </nc:Mea...
- by winkimjr2
- Wed Aug 20, 2014 5:25 pm
- Forum: XSLT and FOP
- Topic: How do I check if weight is less than 50 pounds or greater t
- Replies: 2
- Views: 3676
How do I check if weight is less than 50 pounds or greater t
I am wondering how to change my xslt code so that it checks if height and weight. I want to check if the weight is less than 50 pounds or greater than 499 pounds then this will not be displayed in the output. And for the height I want to check if height is less than 48 inches or greater than 95 inch...
- by winkimjr2
- Wed Aug 13, 2014 5:58 pm
- Forum: XSLT and FOP
- Topic: How do I display person height in inches xslt?
- Replies: 0
- Views: 3001
How do I display person height in inches xslt?
I have an xml document with a person's height element. I am not sure how to use use xslt to transform this and display in inches. For example if a person height is 5 foot 5 inches how do I display 65 inches using xslt? Here is my xml height element <HeightFeet>5</HeightFeet> <HeightInches>5</HeightI...
- by winkimjr2
- Tue Aug 12, 2014 7:51 pm
- Forum: XSLT and FOP
- Topic: How do I concatenate HearingDate and StartTime?
- Replies: 1
- Views: 1457
How do I concatenate HearingDate and StartTime?
How do I get this result: <ext:HearingDateTime>07/21/2014 8:30 AM</ext:HearingDateTime> I have xml that have two StartTime and a HearingDate. The two StartTime are the same but one is near the top and the other one is a child of CourtSessionBlock. The first StartTime is not always there which means ...
- by winkimjr2
- Mon Aug 11, 2014 10:47 pm
- Forum: XSLT and FOP
- Topic: How do I check for StartTime (the first one in xml doc) and
- Replies: 1
- Views: 1642
How do I check for StartTime (the first one in xml doc) and
In my xml there are 2 StartTime one near the top and another one which is the child of CourtSessionBlock. Sometimes, there will only be one StartTime which is the child of CourtSessionBlock. This is why I need to check to see if there is StartTime near the top. If it is there then I will use it. If ...
- by winkimjr2
- Wed Jul 09, 2014 9:43 pm
- Forum: General XML Questions
- Topic: How do I format xslt address for xml
- Replies: 1
- Views: 2142
How do I format xslt address for xml
I have a xslt document which pulls address from an xml document. I want the output to be in separate lines like this <AddressFullText> 542 E Main Street SE Apartment 204B Montreal Onatario, Canada 99999 </AddressFullText> How do I accomplish this? XSLT document <AddressFullText> <xsl:value-of select...
- by winkimjr2
- Fri Jun 27, 2014 6:16 pm
- Forum: General XML Questions
- Topic: How do I display timeServed in xsl transformation based on x
- Replies: 2
- Views: 2475
Re: How do I display timeServed in xsl transformation based
It is now working but I used if instead. Thanks for your helpadrian wrote:See here example 2:
http://www.w3schools.com/xsl/el_when.asp
So for your case:Regards,Code: Select all
<xsl:when test="@timeServed">
...
Adrian
- by winkimjr2
- Fri Jun 27, 2014 5:13 pm
- Forum: General XML Questions
- Topic: How do I display timeServed in xsl transformation based on x
- Replies: 2
- Views: 2475
How do I display timeServed in xsl transformation based on x
How do I use when to display nothing if timeServed="8:25 AM" is not provided in xml document? Right now it is displaying time because there is time in xml. What do I do so when there is no timeServed nothing is displayed? My xml <xsl:template match="NotificationEvent[@notificationType...
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service